-**Cost Reduction**- It's a very early phase in software testing so e… (#32352)

* -**Cost Reduction**- It's a very early phase in software testing so eventually it reduces cost of Testing as defects are captured in the early stage.

* fix: bullet formatting
pull/35199/head
CodeStrike 2019-02-14 09:44:15 +05:30 committed by Christopher McCormack
parent 26bc83d9ed
commit f86f39a97e
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ A unit is often seen as the smallest piece of your code that can be accurately t
- **Quality** - As unit testing forces you to think about and use your own API, it enforces good/extendable interfaces and patterns. It can point out any tight coupling or over-complexity which should be addressed. Bad code is usually much harder to test
- **Industry Standard** - Unit testing is a common discipline these days, and is a requirement for a large portion of software companies
- **Fewer bugs** - Substantial research suggests that applying testing to an application can reduce production bug density by 40%80%.
- **Cost Reduction** - It's a very early phase in software testing so eventually it reduces cost of Testing as defects are captured in the early stage.
### Example(In Javascript)
Suppose there is a function written in file **add.js**