Добавить
Уведомления

CTS En Seminar 5 JUnit 4 Basic concepts

Software Quality and Testing (CTS-2020) Seminar En 5 Catalin Boja 1. How to run a unit test in JUnit 4 - how to name it - what are the 4 steps of a unit test - how to use assert type methods - how to assert floating point results 2. Understanding the structure of a JUnit 4 Test Case - test fixture - what is, why you need it and how to define it - what are and how to use the setUp() and setUpBeforeClass() methods in JUnit4 3. Examples of a different unit tests - different Right unit tests - understanding how to write an Error Condition test (using expected in JUnit4 or using the JUnit3 approach with try-catch) 4. Example of a unit test that always passes 5. Using @Ignore in JUnit4 The example is available on https://github.com/catalinboja/cts-2020/tree/master/1091/Seminar5

12+
16 просмотров
2 года назад
12+
16 просмотров
2 года назад

Software Quality and Testing (CTS-2020) Seminar En 5 Catalin Boja 1. How to run a unit test in JUnit 4 - how to name it - what are the 4 steps of a unit test - how to use assert type methods - how to assert floating point results 2. Understanding the structure of a JUnit 4 Test Case - test fixture - what is, why you need it and how to define it - what are and how to use the setUp() and setUpBeforeClass() methods in JUnit4 3. Examples of a different unit tests - different Right unit tests - understanding how to write an Error Condition test (using expected in JUnit4 or using the JUnit3 approach with try-catch) 4. Example of a unit test that always passes 5. Using @Ignore in JUnit4 The example is available on https://github.com/catalinboja/cts-2020/tree/master/1091/Seminar5

, чтобы оставлять комментарии