Browse Source

Add IDs to all test stages in preparation for tavern upgrade.

master
Johann Rudloff 10 months ago
parent
commit
daf17a6193
2 changed files with 6 additions and 0 deletions
  1. +2
    -0
      tests/test_auth.tavern.yaml
  2. +4
    -0
      tests/test_minimal.tavern.yaml

+ 2
- 0
tests/test_auth.tavern.yaml View File

@@ -3,6 +3,7 @@ test_name: Access without token and with invalid token is rejectd

stages:
- name: POST without token
id: post_without_token

request:
url: '{host}/testuser/testrepo/master/coverage'
@@ -18,6 +19,7 @@ stages:


- name: POST with invalid token
id: post_invalid_token

request:
url: '{host}/testuser/testrepo/master/coverage'


+ 4
- 0
tests/test_minimal.tavern.yaml View File

@@ -3,6 +3,7 @@ test_name: POST coverage report and verify returned SVG

stages:
- name: post initial coverage
id: post_initial_coverage

request:
url: '{host}/testuser/testrepo/master/coverage'
@@ -18,6 +19,7 @@ stages:
status_code: 201

- name: verify returned coverage is correct
id: coverage_correct

request:
url: '{host}/testuser/testrepo/master/coverage.svg'
@@ -35,6 +37,7 @@ stages:


- name: update coverage
id: update_coverage

request:
url: '{host}/testuser/testrepo/master/coverage'
@@ -50,6 +53,7 @@ stages:
status_code: 201

- name: verify updated coverage is returned correctly
id: updated_coverage_correct

request:
url: '{host}/testuser/testrepo/master/coverage.svg'


Loading…
Cancel
Save