[
http://jira.codehaus.org/browse/MJAVACC-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_119729
]
Paul Gier commented on MJAVACC-43:
----------------------------------
I ended up using the invoker plugin. I tried using the verifier within a unit
test, but since it happens before the package phase, it was using out of date
code for the tests instead of the recently compiled code. I also tried the
shitty plugin which runs during integration, but I had problems getting it to
update the repository correctly. Changing the pom back and forth between the
working and non-working dependency on plexus-utils, did not work properly with
the shitty plugin for me.
Anyway the invoker plugin seemed to work fine, and now there are a few basic
integration tests in place. For the next release maybe we can come up with
some more detailed tests, but for now I think it's ok.
> Add some basic unit/integration tests
> -------------------------------------
>
> Key: MJAVACC-43
> URL: http://jira.codehaus.org/browse/MJAVACC-43
> Project: Maven 2.x JavaCC Plugin
> Issue Type: Improvement
> Reporter: Paul Gier
> Assignee: Paul Gier
> Fix For: 2.3
>
>
> There should be at least some basic unit and integration tests included in
> the project. This way code changes will be less likely to break any of the
> major functionality. At least basic javacc compilation and plugin
> configuration should be tested. Later more tests can be added as needed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email