From f86f39a97ee65104788a48d035c41d78961167b3 Mon Sep 17 00:00:00 2001 From: CodeStrike Date: Thu, 14 Feb 2019 09:44:15 +0530 Subject: [PATCH] =?UTF-8?q?-**Cost=20Reduction**-=20It's=20a=20very=20earl?= =?UTF-8?q?y=20phase=20in=20software=20testing=20so=20e=E2=80=A6=20(#32352?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * -**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 --- guide/english/software-engineering/unit-tests/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/guide/english/software-engineering/unit-tests/index.md b/guide/english/software-engineering/unit-tests/index.md index 0a17557d013..26bf36a5564 100644 --- a/guide/english/software-engineering/unit-tests/index.md +++ b/guide/english/software-engineering/unit-tests/index.md @@ -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**