This blog post will give you a brief introduction to a Test-Driven Development(TDD) in Swift and will demonstrate how you can create a very basic Unit test in Swift to test a User Model Struct that holds the details of the Account Registration form. Assume that you need to follow the Test-Driven development approach to…Read More Swift Unit Test of User Registration Model
In this short Maven tutorial you will learn how to build or run a Maven project and skip Unit tests. Often when working on a project we need to build it and even run it even though our Unit test is not complete or is failing. But when using Maven install or maven package commands Unit…Read More How to Skip Unit Tests in Maven
In this tutorial on Rest Assured, I am going to share with you how to create a test case which sends HTTP Get Request and includes two Query String Request Parameters. Let’s assume we need to test a RESTful Web Service Endpoint which returns a list of users. The URL to our RESTful Web Service…Read More Rest Assured HTTP Request with Query Parameters
In this tutorial, I am going to share with you how to make your JUnit tests run in order. And if you are interested to learn more about testing your RESTful Web Services with JUnit and Rest Assured check this list of tutorials: Building and Testing RESTful Web Services. JUnit Method Sorters To run Unit tests…Read More How to Run JUnit Tests in Order
In this JUnit 5 and Rest Assured tutorial, I am going to share with you how to add JUnit 5 and Rest Assured support to your Spring Boot project. It will be more than that actually. This tutorial will cover: Add JUnit 5 and Rest Assured to Spring Boot Project, Create a new JUnit 5…Read More Create a JUnit 5 Test Case with Rest Assured. Video Tutorial.
In this short tutorial on REST Assured you will learn how to get the entire HTTP Response Body when testing your RESTful Web Service Endpoint. Web Service Endpoint Response Let’s assume we have the following Web Service Endpoint URL and when HTTP GET request is made to this Web Service Endpoint a JSON representation of…Read More REST Assured Get HTTP Response Body