Skip to content

Commit af4579f

Browse files
AddisonSchillerfelliott
authored andcommitted
Added crud test in postman for providers
tests should work with name and id based file providers.
1 parent 44d3c9a commit af4579f

File tree

2 files changed

+17282
-9
lines changed

2 files changed

+17282
-9
lines changed

docs/testing.rst

+6-9
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ Quickstart for Newman:
1616

1717
| copy_files:
1818
| copy_folders:
19-
| move_files:
20-
| move_folders:
19+
| crud_cases
2120
|
22-
| *copy_files, copy_folders, move_files, and move_folders can all share the same setup and environment.*
21+
| *copy_files, crud_cases and copy_folders can share the same setup and environment.*
22+
| *crud_cases only requires the first PID to be valid, and does not use the second one.*
2323
|
2424
2525
Setup:
@@ -39,10 +39,7 @@ Environment file:
3939

4040
Testing:
4141

42-
1. Import the \*.json collections files from ``tests/postman/collections`` and the sample environment file you just updated into the Postman App.
42+
1. Import the collection you would like to run from ``tests/postman/collections`` and the environment file you just updated into the Postman App.
43+
#. **Note:** Importing your environment may give a few errors. It is most likely fine and should still run.
4344
#. Run the imported collections using the imported environment.
44-
45-
Notes:
46-
47-
1. A failed run may leave files and/or folders behind. You will need to manually remove these before starting another run.
48-
#. Some provider actions may take longer then the default 15 second timeout. It is recommended that you set the WAIT_TIMEOUT variable in waterbutler/tasks/settings.py to 600 instead to the default 15. Otherwise your tests may fail.
45+
#. **Note:** A failed run may leave files and/or folders behind. You will need to manually remove these before starting another run.

0 commit comments

Comments
 (0)