Changes between Version 6 and Version 7 of unitpy


Ignore:
Timestamp:
09/30/24 15:39:26 (5 weeks ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • unitpy

    v6 v7  
    1111* The method annotated with {{{@Before}}} is run before every test.
    1212* The method annotated with {{{@After}}} is run after every test.
    13 * Every test class must be annotated with @RunWith
     13* Every test class must be annotated with {{{@RunWith}}}
    1414
    1515
     
    1717This enables to use the test class also as normal class.
    1818
    19 The @RunWith annotation is to be placed right before the class definition.
    20 @RunWith allows the class to be run in different "styles", depending on the argument provided to @RunWith.
     19The {{{@RunWith}}} annotation is to be placed right before the class definition.
     20{{{@RunWith}}} allows the class to be run in different "styles", depending on the argument provided to {{{@RunWith}}}.
    2121
    2222||= annotation =||
     
    2626== JUnit4ClassRunner
    2727This runs all methods annotated with @Test inside the class.
    28 If there is a method annotated @Before, this is called first.
     28If there is a method annotated {{{@Before}}}, this is called first.
    2929Then the test method is called (with no arguments)
    30 Finally, if there is a method annotated @After, that method is called
     30Finally, if there is a method annotated {{{@After}}}, that method is called
    3131
    3232