TestCon Europe 2020
Vilnius or Online
Gil Zilberfeld has been in software since childhood, writing BASIC programs on his trusty Sinclair ZX81. With more than twenty years of developing commercial software, he has vast experience in software methodology and practices.
Gil has been applying agile principles for product development more than a decade. From automated testing to exploratory testing, design practices to team collaboration, scrum to kanban, traditional product management to lean startup – he’s done it all. He is still learning from his successes and failures.
Gil speaks frequently in international conferences about unit testing, TDD, agile practices and product management. He is the author of “Everyday Unit Testing”, blogs at http://www.gilzilberfeld.com, co-organizer of the Agile Practitioners conference and in his spare time he shoots zombies, for fun.
REST API Integration Testing With Spring
Time & Date
9:00, 13 October
M. K. Čiurlionio str. 84, Vilnius, Lithuania
Spring has taken over as the leading platform to create web-based, APIs and microservices in the Java world. As a modern framework, it comes with many features for testing. In this workshop, we’re going to cover and experiment with the Spring testing capabilities and learn about how to use them for quick feedback, different levels of testing, and long-term test maintenance.
Part 1: Introduction to Spring and Spring Boot and their use in modern software projects (web, microservices, API):
- Spring architecture support for testing (beans, configurations and profiles)
- Project organization of code, testsand configuration
- Spring’s support for different types of tests (unit, integration, API)
- Spring’s support for database-based tests, including in-memory databases
Part 2: Test categorization principles-What kind of tests to write for parts of the API:
- Test isolation and clean-up
- Mocking dependent services and APIs
- Testability considerations for code and architecture
- Spring tests patterns and anti-patterns
- Exploratory testing aspects of an API/li>
What attendees will be able to do after they complete the tutorial:
– Describe Spring testability features.
– Configure and organize a Spring Boot project for effective integration and unit testing.
– Decide when to use which tests: unit, integrationand UI.
– Test APIs with database supported integration tests manually.
– Simulate dependent APIs responses.
– Analyze and configure tests to run in continuous integration.
– Optimize code for testability.
– Analyze the APIs behavior with exploratory testing.
Java and Spring developers and testers. This is a hands on workshop and Java experience is needed. In addition, some Junit and unit testing experience is assumed.
- Attendees will need laptops with Java (JDK 11), Maven and an IDE (inellijor Eclipse).
- Separate exercise link will be given ahead of time to attendees to download and make sure things work to avoid technical issues during the workshop.