Version 3

    This document suggests improvements the unit testing frameworks (JUnit and TestNG) that the Arquillian community has identified.

     

    JUnit (>= 4.8)

     

    • Test groups (has categories, but needs work)
    • Set start/stop time for a test method manually  (ARQ-105)
    • Callback to verify test method status(success/failure) after ExpectedException validation (ARQ-181)
    • A TestResult value object so e.g. caught Exception can be extracted from the outside

     

    TestNG (>= 5.12.1)

     

    • Equivalent to @RunWith annotation in JUnit
    • Set start/stop time for test method manually (ARQ-105)
    • Callback to verify test method status(success/failure) after ExpectedException validation  (ARQ-181)