Skip to content

Commit

Permalink
Merge pull request #97 from TechnologyBrewery/#95
Browse files Browse the repository at this point in the history
Change output directory for Behave tests
  • Loading branch information
cpointe-ibllanos authored Mar 8, 2024
2 parents e48a19e + a1cb186 commit efe3ce1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public void doExecute() throws MojoExecutionException, MojoFailureException {
if (outputCucumberStyleTestReports) {
poetryHelper.installDevelopmentDependency(BEHAVE_CUCUMBER_FORMATTER);
executeBehaveTestArgs.add("--format=behave_cucumber_formatter:PrettyCucumberJSONFormatter");
executeBehaveTestArgs.add("--outfile=dist/cucumber-reports/cucumber.json");
executeBehaveTestArgs.add("--outfile=target/cucumber-reports/cucumber.json");
}

if (omitSkippedTests) {
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@
<checkBuildResult>true</checkBuildResult>
<treatUndefinedAsFailed>true</treatUndefinedAsFailed>
<treatSkippedAsFailed>false</treatSkippedAsFailed>
<outputDirectory>${project.build.directory}/cucumber-reports</outputDirectory>
<inputDirectory>${project.build.directory}/cucumber-reports</inputDirectory>
<outputDirectory>${project.basedir}/target/cucumber-reports</outputDirectory>
<inputDirectory>${project.basedir}/target/cucumber-reports</inputDirectory>
<jsonFiles>
<param>**/cucumber.json</param>
</jsonFiles>
Expand Down

0 comments on commit efe3ce1

Please sign in to comment.