Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to fail report if no data (#8) #9

Merged
merged 2 commits into from
May 7, 2015

Conversation

baev
Copy link
Member

@baev baev commented May 7, 2015

No description provided.


getLog().info("Generate report to " + outputDirectory);
builder.processResults(reportDirectories);

if (failReportIfEmpty && isReportEmpty()) {
throw new MavenReportException("There are no test cases info in given result" +
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

which directory is given?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#getReportDirectories

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

think it should be in exception

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lanwen now all found directories will be logged.

@baev
Copy link
Member Author

baev commented May 7, 2015

retest this please

1 similar comment
@baev
Copy link
Member Author

baev commented May 7, 2015

retest this please

baev added a commit that referenced this pull request May 7, 2015
Add ability to fail report if no data (#8)
@baev baev merged commit ef546ee into allure-framework:master May 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants