Skip to content

MuhammadAliAsgher/-Introduction-to-Software-Testing-Solutions-Coursera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction to Software Testing Course

This repository contains various modules and assignments for the "Intro to Testing" course. Below is the structure and content of each module.

Module 1

Files

Description

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.

Module 3

Files

Description

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.

Module 4

Assignment 1

Files

Description

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.

Assignment 2

Files

Description

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.

Assignment 3

Files

Description

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.

How to Run Tests

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.

Using Maven

mvn test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages