Java Spring Boot Application Software Testing

3.7
stars
6 ratings
Offered By
Coursera Project Network
In this Guided Project, you will:

Build a Java Junit test that tests the Rand class with various input parameters.

Add an Integration Sanity Test using the Spring Boot Testing Framework with Java.

Develop an Integration Test using MockMvc to allow serverless Integration Testing.

Clock2 hours
IntermediateIntermediate
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

In this project you will use the Spring Boot Framework and the Junit Testing Framework to test a Java Spring Boot Web Application. Application development always involves testing in some form. At a minimum, the developer tries to physically run some test cases to verify functionality. Software testing is used to formalize the process and thoroughly test the application. These tests can be executed every time the code is changed to verify functionality of the code base. In the Spring Boot Application as in other Java Applications, Junit tests are used to test individual Java Classes. Integration tests are used to test the Application as a whole; the interaction among classes to produce an expected result. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Skills you will develop

Junit TestingSpring MockMvcSoftware TestingSpring Boot TestingIntegration Testing (I&T)

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Create a basic Unit Test of the Rand Service Class Using Java and JUnit Testing Framework.

  2. Build a Java Junit test that tests the Rand class with various input parameters.

  3. Add an Integration Sanity Test using the Spring Boot Testing Framework with Java.

  4. Create an Integration Test with Incorrect Request Parameters and check for empty response.

  5. Develop an Integration Test using MockMvc to allow serverless Integration Testing.

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.