update test method types

This commit is contained in:
Jungpyo Hong 2021-08-10 13:35:58 -05:00 committed by GitHub
parent c0fcd84398
commit 8bba6950c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,6 +94,7 @@ Feel free to fork this repository and pull requests!!
- [OperationQueue](#operationQueue)
- [Thread Sanitizer](#Thread-Sanitizer)
- [Testing](#Testing)
- [Various Types Of Test Method](#Various-types-of-test-method)
- [TDD](#TDD)
- [BDD](#BDD)
- [Code Coverage](#Code-Coverage)
@ -1525,6 +1526,23 @@ And then go to **RUN** and check **THREAD SANITIZER** 👈
## Testing
## Various types of test method
- Mocks - Mocks are pre-programmered with expectations which form a specification of the calls they are expected to receive. They can throw an exception if they receive a call they don't expect and are checked during verification to ensure they got all the calls they were expecting.
```swift
```
- Fake
- Spies
- Stubs
- Dummy
## TDD
**Test Driven Development**