I'm looking at adding some reboot tests.
The build.xml will
1) start the all configuration
2) run the tests with a system property to identify the before stage
3) reboot the all configuration
4) run the tests with a system property to identify the after stage
You would name your test RebootTestCase to avoid it running in the other
targets.
It would have tests something like:
| public void testSomething()
| {
| if (isBeforeReboot())
| // Do before reboot processing
| else
| // Do after reboot processing
| }
|
Comments?
Maybe a custom testRunner would be preferable to the system property?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866836#3866836
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866836
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development