Skip to content

Commit

Permalink
PR #95 - add unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Build Pipeline authored and bsorrentino committed Jun 28, 2021
1 parent 40c7db8 commit 997cb59
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package org.bsc.maven.plugin.processor;

import org.apache.maven.plugin.testing.MojoRule;
import org.apache.maven.plugin.testing.resources.TestResources;
import org.junit.Rule;
import org.junit.Test;

import java.io.File;

public class MojoTest {

@Rule
public MojoRule mojoRule = new MojoRule();

@Rule public TestResources resources = new TestResources();

@Test
public void execute() throws Exception {
File pom = new File(resources.getBasedir("test-project-1"), "pom.xml");
// MainMojo mojo = (MainMojo) mojoRule.lookupMojo("translate", pom);
// mojo.execute();
}
}
Empty file.

0 comments on commit 997cb59

Please sign in to comment.