Changes between Version 1 and Version 2 of unitpy


Ignore:
Timestamp:
08/21/24 10:59:12 (2 months ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • unitpy

    v1 v2  
    33UnitPy is a toolbox with python annotations similar to the java unit test annotations, using @Test @Before @After @RunWith etc. UnitPy also provides a tool to discover and run tests.
    44
    5 UnitPy does not need the test class to extend unittest.TestCase, and the test class constructor does not need modifications (TestCase requires the name of the test function to be passed as additional argument). This enables to use the test class also as normal class.
     5UnitPy has a number of improvements over the standard method using Testcase:
     6* the test class does not need to extend unittest.TestCase
     7* the test class constructor does not need modifications (TestCase requires the name of the test function to be passed as additional argument).
     8* The test methods are not required to contain "test"
     9This enables to use the test class also as normal class.
    610
    711The @RunWith annotation is to be placed right before the class definition.