mirror of
https://github.com/jphong1111/awesome-ios-developer.git
synced 2025-02-02 04:14:41 +07:00
update code coverage
This commit is contained in:
parent
6ca98df05c
commit
189c83034d
@ -37,6 +37,7 @@
|
||||
- [DispatchWorkItem](#DispatchWorkItem)
|
||||
- [Thread Sanitizer](#Thread-Sanitizer)
|
||||
- [Testing](#Testing)
|
||||
- [Code Coverage](#Code-Coverage)
|
||||
- [Unit Test](#Unit-Test)
|
||||
- [UI Test](#UI-Test)
|
||||
- [Useful Stuff](#Useful-Stuff)
|
||||
@ -400,10 +401,14 @@ And then go to **RUN** and check **THREAD SANITIZER** 👈
|
||||
|
||||
Before start your Testing, add coverage will be a good option to show the result of test
|
||||
|
||||
### Add Test Coverage
|
||||
### Code Coverage
|
||||
|
||||
First, check code coverage
|
||||
|
||||
<img src ="https://github.com/jphong1111/Useful_Swift/blob/main/Images/addCoverage1.png" />
|
||||
|
||||
Then, go to **EDIT SHEME**, check like this
|
||||
|
||||
<img src ="https://github.com/jphong1111/Useful_Swift/blob/main/Images/addCoverage2.png" />
|
||||
|
||||
### Unit Test
|
||||
|
Loading…
Reference in New Issue
Block a user