Things I wish I knew before I started writing unit tests


Metodologije i alati

Datum i vrijeme

ponedjeljak, 16. listopad 2023., 15:00


Dvorana D



How am I ever going to test this method? If you are like me, you probably asked yourself this question far too often. Because a method forces you to create an enormous test case, have lots of setup code, or worse, change production code to facilitate testing.So, what if we could write loosely coupled tests? What if our tests are clear, show intent and are fun to write? With Junit5 and Mockito you can write those tests. These tools offer many features that help you write tests but are rarely used. In this talk, I will demonstrate how to test an application with zero test coverage, hard-to-test production code, and lots of edge cases. Furthermore, I'll provide some practical advice to improve your tests and make them easier and more fun.

Detalji o predavanju

Razina težine: Općenito
Poželjna funkcija slušatelja: Razvojni inženjer ili softverski arhitekt
Grupa aktivnosti: Metodologije i alati

O predavaču


Konferenciju organiziraju Hrvatska udruga Oracle korisnika i Hrvatska udruga Java korisnika. 

Prati nas na Facebooku

Novosti, fotografije i zanimljivosti objavljujemo na službenoj Facebook stranici JavaCro konferencije.

Prati nas na Twitteru

Sve novosti i zanimljivosti vezane uz JavaCro objavljujemo i na Twitteru!

Platinasti Pokrovitelj

Zlatni pokrovitelj

Srebreni pokrovitelji

Medijski pokrovitelji