mirror of
https://github.com/mas-cli/mas
synced 2024-11-21 19:23:01 +00:00
Add Tests section to readme
This commit is contained in:
parent
eba15588c8
commit
aa1f47463e
1 changed files with 11 additions and 0 deletions
11
README.md
11
README.md
|
@ -130,6 +130,17 @@ $ script/build
|
|||
|
||||
Build output can be found in the `build/` directory within the project.
|
||||
|
||||
## 🚧✅ Tests
|
||||
|
||||
The tests in this project are a work-in-progress. Since Xcode does not officially support tests for command-line tool targets, there are some manual actions necessary to create and/or update the tests:
|
||||
|
||||
- Types from the `mas` target must be included in the `mas-tests` target in order to be used in a test.
|
||||
- `@testable import mas` does not work
|
||||
- XCTest is the current test framework
|
||||
- this may change in the future to Quick/Nimble.
|
||||
|
||||
We may move the app code into a framework target to make it easier to test.
|
||||
|
||||
## License
|
||||
|
||||
mas-cli was created by [@argon](https://github.com/argon).
|
||||
|
|
Loading…
Reference in a new issue