-
-
Notifications
You must be signed in to change notification settings - Fork 149
Closed
Description
This issue serves as an umbrella issue for resolving [JSTEP-10: Unifying testing structure/tools]
TODO
- Add JUnit 5 dep +
failingtest utils - Migrate modules to JUnit 5
- Migrate failing tests to
/tofixand remove existing/failingfunciontality - Remove JUnit 4 dependecy (isolate to
avromodule's/interoptests at least) - Migrate
/interoptests fromavromodule to JUnit 5
How to do things
Change Code
- run IntelliJ's "migrate tests 4 -> 5"
- Check for Junit 3 TestCase and remove the extends part
- Annotate
@Testby : Replace (by text) allpublic void testto@Test \n public void test - Add imports by : Replace
public classwithimport org.jun... Test \n import static Asssertions.*; \n public class
Validate
- search all
public void test...and check Dups or missing(indents) - search all
public class...and check JavaDoc in between imports - search and remove all
org.junit.Assert - search and remove
Assert.* - search all
assertNotNullerror message String usage