THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Avoid catching exception and setting some test state to check later
- Use ErrorCollector in unit and integration tests
- Use SharedErrorCollector DistributedErrorCollector in distributed tests
Examples: AsyncErrorHandlingIntegrationTest, AsyncErrorHandlingDistributedTest
...
- DistributedRule -- simply launches DUnit and greps for suspect strings after each test method
- DistributedExecutorServiceRule -- provides an ExecutorService for all VMs
- DistributedRestoreSystemProperties -- restores system properties in all VMs
- SharedCountersRule DistributedCounters -- shares counters across all VMs
- SharedErrorCollectorDistributedErrorCollector -- shares one JUnit ErrorCollector across all VMs
...