remove extraneous periods
in order to run subfolders of tests, you should not include the . (ex: .world.tests etc), so I have removed it from the relevant lines
This commit is contained in:
parent
2881d2dc13
commit
20fd16f8a4
1 changed files with 5 additions and 5 deletions
|
|
@ -43,7 +43,7 @@ forces Evennia to use this settings file over the default one.
|
||||||
|
|
||||||
You can also test specific things by giving their path
|
You can also test specific things by giving their path
|
||||||
|
|
||||||
evennia test --settings settings.py .world.tests.YourTest
|
evennia test --settings settings.py world.tests.YourTest
|
||||||
|
|
||||||
|
|
||||||
## Writing new unit tests
|
## Writing new unit tests
|
||||||
|
|
@ -106,15 +106,15 @@ To test this, run
|
||||||
|
|
||||||
to run the entire test module
|
to run the entire test module
|
||||||
|
|
||||||
evennia test --settings setings.py .world.tests
|
evennia test --settings setings.py world.tests
|
||||||
|
|
||||||
or a specific class:
|
or a specific class:
|
||||||
|
|
||||||
evennia test --settings settings.py .world.tests.TestObj
|
evennia test --settings settings.py world.tests.TestObj
|
||||||
|
|
||||||
You can also run a specific test:
|
You can also run a specific test:
|
||||||
|
|
||||||
evennia test --settings settings.py .world.tests.TestObj.test_alternative_call
|
evennia test --settings settings.py world.tests.TestObj.test_alternative_call
|
||||||
|
|
||||||
You might also want to read the [Python documentation for the unittest module](https://docs.python.org/library/unittest.html).
|
You might also want to read the [Python documentation for the unittest module](https://docs.python.org/library/unittest.html).
|
||||||
|
|
||||||
|
|
@ -303,4 +303,4 @@ After doing so, you can then run tests without migrations by adding the `--nomig
|
||||||
|
|
||||||
```
|
```
|
||||||
evennia test --settings settings.py --nomigrations .
|
evennia test --settings settings.py --nomigrations .
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue