eykrehbein / strest

⚡️ CI-ready tests for REST APIs configured in YAML
MIT License
1.74k stars 59 forks source link

Feature: Set execution order #69

Closed eykrehbein closed 6 years ago

eykrehbein commented 6 years ago

Option to add a parameter in each test file which defines in which order the files should be executed.

# File 1
version: 1
order: 1 # will be executed first
requests:
   ... 
# File 2
version: 1
order: 2 # will be executed after file 1
requests:
   ... 
jgroom33 commented 6 years ago

the workaround for this is pretty simple. I've been using alpha-numeric file naming:

0-FirstFile.strest.yml
anotherFile.strest.yml