Tester's toolbox 2 - Awesome Testing Christmas edition
It’s been more than three years since I released one of my most popular posts - Tester’s toolbox - an alternative guide. Today I’d like to share tools and projects created by me for various occasions (public speaking, teaching on Vistula University or just self-learning). All of those repositories are 100% free to use.
Selenium starter guide (Java, Maven)
My project contains the following features:
a) Very detailed setup guide (including Java install and running your first test)
This often-overlooked point tends to slow down newcomers a lot. Let’s be honest - Java project setup is not easy.
b) Refactoring to page object pattern
The project contains few branches (see README) which can be used as a model of learning page object pattern. In small steps, I show how to get rid of the Selenium API in tests.
Rest API (Java, Spring Boot, Gradle)
I needed sample API for Rest Assured tests so I created one in Spring Boot. Nothing fancy here, just Gradle and Spring Controllers. API is easily expandable. You don’t need any additional setup - there is in memory h2 database.
Rest Assured starter guide (Java, Maven)
A simple starter guide for API tests written using one of the most popular API testing tools - Rest Assured. Nice extension of my previous post on this subject:
Similar to Selenium starter guide project, it contains a nice and easy setup guide.
Contract tests (Java, Gradle, Pact)
Last but not least! A project which took me a while to implement and test thoroughly. Main features include:
- Selected and recommended theoretical sources about contract tests
- Contract tests on both Consumer and Provider side written using Pact
- Scripted Pact Broker setup
- Spring MVC tests
- Wiremock stubbings
I’ll describe this one in greater detail soon.
Happy new year! :)
Tags: API testing, resources for testers, selenium, test automation, testing tools