mirror of
https://github.com/jphong1111/awesome-ios-developer.git
synced 2024-12-22 22:35:28 +07:00
update test method types
This commit is contained in:
parent
c0fcd84398
commit
8bba6950c8
18
README.md
18
README.md
@ -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**
|
||||
|
Loading…
Reference in New Issue
Block a user