-
Notifications
You must be signed in to change notification settings - Fork 15
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
feat: add entrypoint #14
Conversation
4f51f8f
to
5ee10a6
Compare
5ee10a6
to
75f6d70
Compare
09200d5
to
b5423cf
Compare
Run with subdomain option: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shared a few thoughts inline. I want to play with code a bit to see if clearer ideas emerge.
Here's what came out of me playing with the entrypoint: #15 I know the diff is awful. Let's just get together tomorrow and talk it through. I think it's going to be easier that way. |
- add support for go test args to the entrypoint - update Go version to 1.20 - rename is-subdomain to subdomain-gateway-spec - add merged as argument to the extract-fixtures command - rename entrypoint as gateway-conformance - rename tests package from main to tests - rename build tag to no_subdomain_gateway_spec - add a utility function for accessing GATEWAY_CONFORMANCE_HOME
feat: turn entrypoint into gateway-conformance CLI
This pull request replaces the old entrypoint.sh script with a new one written in Go.
We expect the conformance testing to get more complex and involve optional parameters to enable/disable parts of the test suite (like subdomains), go will be more maintainable here.
We also added the necessary flags to run the new test suite in CI.