mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 17:19:39 +02:00
[sinttest] Allow the selection of individual test *methods*
This commit is contained in:
parent
69a55aaa84
commit
10a2687ff1
4 changed files with 153 additions and 17 deletions
|
@ -86,6 +86,27 @@ debugger=console
|
|||
|
||||
The framework will first load the properties file from `~/.config/smack-integration-test/properties`
|
||||
|
||||
### Running selected tests only
|
||||
|
||||
Using `enabledTests` is is possible to run only selected tests. The
|
||||
tests can be selected on a per class base or by specifying concrete
|
||||
test methods. In the latter case, the methods must be qualified by a
|
||||
(simple) class name.
|
||||
|
||||
For example:
|
||||
|
||||
```bash
|
||||
$ gradle integrationTest -Dsinttest.enabledTests=SoftwareInfoIntegrationTest.test
|
||||
```
|
||||
|
||||
will only run the `test()` method of `SoftwareInfoIntegrationTest`, whereas
|
||||
|
||||
```bash
|
||||
$ gradle integrationTest -Dsinttest.enabledTests=SoftwareInfoIntegrationTest
|
||||
```
|
||||
|
||||
would run all tests defined in the `SoftwareInfoIntegrationTest` class.
|
||||
|
||||
Overview of the components
|
||||
--------------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue