Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/tariktesfa/unit-testing-practice
- Owner: tariktesfa
- Created: 2022-01-18T08:04:28.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-20T08:53:34.000Z (almost 3 years ago)
- Last Synced: 2023-03-10T14:39:55.150Z (over 1 year ago)
- Topics: testing, unit-testing
- Language: HTML
- Homepage:
- Size: 87.9 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.