This repository contains various modules and assignments for the "Intro to Testing" course. Below is the structure and content of each module.
This module contains a demo test file for basic unit testing using JUnit.
This file contains unit tests for the Demo class, specifically testing the isTriangle method and the main method.
This module contains a test plan document for the Golf Score application.
This file is a Word document outlining the test plan for the Golf Score application.
This assignment involves writing unit tests for the CoffeeMaker class.
This file contains unit tests for the CoffeeMaker class, testing various functionalities such as adding inventory, making coffee, and adding/deleting recipes.
This assignment focuses on checking code coverage using JaCoCo for the CoffeeMaker class.
This file contains unit tests for the CoffeeMaker class, similar to Assignment 1, but with an emphasis on achieving high code coverage.
This assignment involves adding mocks and stubs to the unit tests for the CoffeeMaker class.
This file contains unit tests for the CoffeeMaker class, utilizing mocks and stubs to test interactions with the RecipeBook and Inventory classes.
To run the tests, you can use any IDE that supports JUnit, such as IntelliJ IDEA or Eclipse. Alternatively, you can run the tests from the command line using Maven or Gradle.
mvn test