-
Notifications
You must be signed in to change notification settings - Fork 39
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
Integration tests for diktat-maven-plugin #607
Conversation
### What's done: * IT for diktat-maven-plugin
Codecov Report
@@ Coverage Diff @@
## master #607 +/- ##
=========================================
Coverage 80.75% 80.75%
Complexity 1745 1745
=========================================
Files 89 89
Lines 4613 4613
Branches 1385 1385
=========================================
Hits 3725 3725
Misses 322 322
Partials 566 566
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
### What's done: * maven IT
### What's done: * maven IT
<artifactId>junit</artifactId> | ||
<version>4.13.1</version> | ||
<groupId>org.junit.vintage</groupId> | ||
<artifactId>junit-vintage-engine</artifactId> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why vintage engine, not junit5?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maven-testing-harness
, maven library for unit testing, supports only junit 3 and 4
@MavenGoal("diktat:check@diktat") | ||
fun maven(result: MavenExecutionResult) { | ||
val mavenLog = result.mavenLog.stdout.readText() | ||
println(mavenLog) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
debug println here?
Why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initially it was to have access to maven logs, but it can indeed be left for debug only and disabled by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
### What's done: * Removed debug output
### What's done: * Removed debug output
What's done:
This pull request closes #576