3 Replies Latest reply on Feb 18, 2005 2:19 PM by starksm64

    Reboot tests

      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?