TestCon Vilnius 2018
Spartez / Atlassian, Poland
Bartosz Szulc is a Tester at heart. One could say, born to test. He is keeping hands dirty with test automation and scripting since he started professional career. Bartosz is designing strategies, architecting, delivering frameworks and test environments for web and mobile applications. He is also actively involved in local testing communities and presenting on most popular testing conferences in Poland. Since joined Spartez, he helps developers become better testers. Bartosz is in love with big data statistical analysis and in pursuit of quantifying quality in Software Development.
Doublers in tests. Wiremock vs Mockito
Having problems with defining automated test strategy for your system built out of microservices? Heard about test doubles in unit testing but not sure how to apply the idea to your context and what tools to use? I will talk about Wiremock and how can it help you, while comparing it to Mockito.
Have you heard about mocking or test doubles? Have you ever implemented test double with Mockito while unit testing, but aren’t quite sure how the idea translates to world of microservices? I will present to you Wiremock, a tool that for the purpose of testing helps you replace real service with its programmable representation. What kind of problem Wiremock tries to solve? What are the risk behind relying on test doubles? What are the capabilities of the tool and how they’re comparable to Mockito. Those are all the questions Bartosz will address these using examples. He will show you in code how a thing can be done in both Mockito and Wiremock, how mocking objects translates into mocking services. He will also discuss advanced features of Wiremock like proxy, custom transformations, failure injections. He won’t limit himself only to implementing automated tests for the tool, but he will also discuss how it can be used in supporting exploratory testing.