You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The configuration in the mojos within the unit tests is presently done via the setters to configure the @parameters applied to the mojo.
However, this does not allow us to unit test the default behaviour of the @parameters - for example the use of default-value or @required to ensure the behaviour of the plugin is correct when these items are omitted.
The text was updated successfully, but these errors were encountered:
A better way to do this would be to do something similar to that done within the maven-ant-plugin by creating an individual unit test pom.xml for each area of functionality we want to test.
We would invoking the unit test using the appropriate file.
The configuration in the mojos within the unit tests is presently done via the setters to configure the
@parameters
applied to the mojo.However, this does not allow us to unit test the default behaviour of the
@parameters
- for example the use ofdefault-value
or@required
to ensure the behaviour of the plugin is correct when these items are omitted.The text was updated successfully, but these errors were encountered: