Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tariktesfa/unit-testing-practice

This repository includes functions and their test cases to Exercise Unit Testing by using AAA Testing Pattern and TDD approach.
https://github.com/tariktesfa/unit-testing-practice

testing unit-testing

Last synced: 6 days ago
JSON representation

This repository includes functions and their test cases to Exercise Unit Testing by using AAA Testing Pattern and TDD approach.

Awesome Lists containing this project

README

        

# Unit-Testing-Practice

The Repository includes functions and their test cases to Exercise Unit Testing by using AAA Testing Pattern and TDD approach.

##### The functions are doing the following functionalities
- stringLength(string) that takes any string as an argument and returns its characters count.
- reverseString(string) take a string as an argument and return it reversed.
- A simple calculator class which has 4 methods: add, subtract, divide, and multiply.
- capitalize(string) that takes a string as an argument and returns the string with the first character capitalized.