Core Java, Frameworks & Servers
Tuesday, 14. May 2019., 11:20
Hall A
30'
Writing JUnit tests is very often quite challenging, especially when we are faced with strict deadlines. Even though there is a consensus in IT community that writing tests is necessary, there are usually few common reasons that prevent developers from writing them. First, you will learn how to increase readability of your tests by introducing consistent structure. Second, you will learn how to easily handle complexity of testing legacy code and reach any code coverage percentage. Third, you will learn more advanced approach that will enable you to create readable reports that even domain experts can easily understand.Agenda: Junit tests with BDD structure, mocking with Mockito and Powermock, generating Documentation from JUnit tests