mirror of
https://github.com/inspec/inspec
synced 2024-11-22 12:43:07 +00:00
add doc for single unit test
This commit is contained in:
parent
0907419e8d
commit
640eba852b
1 changed files with 6 additions and 0 deletions
|
@ -184,6 +184,12 @@ We perform `unit`, `resource` and `integration` tests.
|
|||
bundle exec rake test
|
||||
```
|
||||
|
||||
If you like to run only one test, use
|
||||
|
||||
```bash
|
||||
bundle exec ruby -W -Ilib:test test/unit/resources/user_test.rb
|
||||
```
|
||||
|
||||
### Resource tests
|
||||
|
||||
Resource tests make sure the backend execution layer behaves as expected. These tests will take a while, as a lot of different operating systems and configurations are being tested.
|
||||
|
|
Loading…
Reference in a new issue