CTS En Seminar 6 Implementing Right-BICEP and CORRECT unit tests in JUnit 4
Автор: Learn2Code
Загружено: 2021-03-03
Просмотров: 231
Software Quality and Testing (CTS-2020) Seminar En 6
Catalin Boja
Thanks to all students that contributed with observations, answers and questions.
The seminar covers next topics:
1. Some Clean code principles
handling validation limits in your classes
defining custom exceptions
2. JUnit 4
using @Ignore (why to use it instead of commenting
using test fixture, setUpBeforeClass() and setUp()
Right/Conformance test on class constructor
Single Responsability for unit tests (Single Reason to fail)
Error Condition test on class constructor
managing exceptions in unit tests (testing for them or handling them when you don't expect them)
Right/Conformance test on a class method
The example is available here
https://github.com/catalinboja/cts-20...
Thanks to all students that contributed with observations, answers and questions.
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: