You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-4Lines changed: 12 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
## What is sedr?
6
6
7
-
An experimental validator for OGC EDR APIs using schemathesis. Main focus will be on the Rodeo Profile, which is a subset of the OGC EDR API.
7
+
An experimental validator for OGC EDR APIs. Main focus will be on the Rodeo Profile, which is a subset of the OGC EDR API.
8
8
9
9
## Who is responsible?
10
10
@@ -40,6 +40,10 @@ Run manually as noted in [Test it out](#test-it-out), or add it to your CI using
40
40
41
41
## Overview of architecture
42
42
43
+
-__init__ includes tests from ogcapi, edrreq and rodeoprofile at startup. Tests are categorized as landing, conformance and collection.
44
+
- Landing and conformance tests are run first, in the preflight phase.
45
+
- Then schemathesis will validate the OpenAPI spec and run lots of automatic tests, including fuzzing of query parameters. Collection tests are run during this phase.
46
+
43
47
## Documentation
44
48
45
49
### Limitations
@@ -48,9 +52,13 @@ Run manually as noted in [Test it out](#test-it-out), or add it to your CI using
48
52
- Assuming OGC EDR API version 1.2 (draft)
49
53
- Few, basic tests for now
50
54
- Will focus more on profiles (limitations within the EDR spec) like <https://github.com/EURODEO/rodeo-edr-profile> than the full EDR spec.
51
-
- Use --rodeo-profile to force a test against the profile (will happen automatically if conformance includes the profile)
55
+
- Use --rodeo-profile to force a test against the profile
56
+
57
+
### Testing the sedr code to look for regressions
58
+
59
+
For development, source a venv and run `tox p` to run all tests.
52
60
53
-
### Understanding errors
61
+
### Understanding errors from schemathesis
54
62
55
63
For each "FAILED" line, you can scroll back to see the full error and, if relevant, with a curl-example to reproduce it.
0 commit comments