-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test framework #122
Test framework #122
Conversation
Leverages the *.badssl.com sites as the "known" / "expected" behavior
These require more work with `vcrpy` or similar mocking before enabling
This is meant to encompass checks for things like "Supports HTTPS" and "Enforces HTTPS" which have more complicated logic associated with them.
Changes Unknown when pulling fd8f851 on IanLee1521:test-framework into ** on dhs-ncats:master**. |
2 similar comments
Changes Unknown when pulling fd8f851 on IanLee1521:test-framework into ** on dhs-ncats:master**. |
Changes Unknown when pulling fd8f851 on IanLee1521:test-framework into ** on dhs-ncats:master**. |
Changes Unknown when pulling c098879 on IanLee1521:test-framework into ** on dhs-ncats:master**. |
@IanLee1521 <3 tests <3 |
Update two configuration files
Lineage pull request for: skeleton
This pull request adds a test harness for pshtt which enables functional testing, and begins work (skipped for now: master...IanLee1521:test-framework#diff-4b8ef9663ddcb745c9b2af6c8974c69fR32) to allow for integration tests against live badssl.com endpoints.
Instead of live hits to badssl though, it may be preferable to record the HTTP requests/responses and replay those, e.g. using
vcrpy
, investigation of which is still on going and will be added in future pull requests.