Closed dflemstr closed 9 years ago
@pettermahlen @mattnworb @spkrka
(Unrelated, I also converted version numbers from 0.x-SNAPSHOT
to x-SNAPSHOT
and removed redundant <packaging>jar</packaging>
to save trees)
Looks great! This is what I wanted to do with the system tests, only better. :)
I only wonder why coveralls reports decreased coverage for the CheckMojo, that doesn't make sense to me. But I'm thinking that looks like some sort of bug rather than something cause by this PR.
This is great - thank you @dflemstr :raised_hands:
I saw that there was a
system-tests
folder that was not being used by anything in the build/CI process of this plugin. So I converted those tests into proper Maven integration tests by using themaven-invoker-plugin
. Roughly what this adds is that now when you runmvn verify
ormvn install
in this repo, you get a part like this:Interesting stuff that could be done on top of this:
verify.groovy
(for example) next to thepom.xml
of any of the tests and that groovy file can verify certain things from the output. This might be useful if themissinglink
plugin outputs some kind of structured report; you can assert that a class duplicate was found or something.