I have some testcase files of type yaml
in a directory. Im using pyresttest to run them and test my app. I want to run all tests in the directory. I can write a script to do it but is there anyway run all testcases with pyresttest
?
Asked
Active
Viewed 621 times
1

Amin
- 755
- 6
- 21
1 Answers
1
Author of PyRestTest here: there is not a way to do this.
Besides a script, what you can do is create a test file that imports other files in the same directory and then run that.
This is the suggested way to create higher-level test suites that reuse shared test files.

BobMcGee
- 19,824
- 10
- 45
- 57