README.md: how to restore database
parent
e1c95395ef
commit
aa85b742f5
11
README.md
11
README.md
|
@ -159,7 +159,16 @@ https://github.com/spm2020spring/TeamCollaborationTutorial/blob/master/team.rst
|
||||||
|
|
||||||
## Testing
|
## Testing
|
||||||
|
|
||||||
Make sure your changes can pass all the tests in folder [./test](http://121.4.94.30:3000/mrlan/LRR/src/branch/master/test).
|
Make sure your changes can pass all the tests in folder ./test.
|
||||||
|
|
||||||
|
You cannot do too much unit testing for LRR because it almost does not
|
||||||
|
have functions or classes. However, you can do end-to-end testing.
|
||||||
|
It is important that you *restore* the database each time before your
|
||||||
|
run a test case. The fixture *restore_database* in ./test/conftest.py
|
||||||
|
is used to restore the database. Please check that. A use case for
|
||||||
|
this fixture can be found in the test script
|
||||||
|
./test/SeleniumMpiana/test_bug418_yaaqob.py. You could run this test script
|
||||||
|
by typing the following command: `pytest ./SeleniumMpiana/test_bug418_yaaqob.py`
|
||||||
|
|
||||||
|
|
||||||
## Communications Method
|
## Communications Method
|
||||||
|
|
Loading…
Reference in New Issue