Skip to content
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 e2e test suite #235

Merged
merged 4 commits into from
Aug 17, 2024
Merged

feat: add e2e test suite #235

merged 4 commits into from
Aug 17, 2024

Conversation

mnahkies
Copy link
Owner

Until now, whilst some of the unit tests execute specific pieces of generated code using the node:vm module, and the integration tests check that typescript is happy to build the code, we haven't had very comprehensive end-to-end tests in the repo.

This has meant manually checking changes in other (mostly private) projects, which is a bit of a pain and not very transparent.

This PR aims to add end to end tests that actually run a koa service, and make calls to it using a generated client. Coverage will be relatively low to begin with and iteratively improved on over time.

It will hopefully also serve as a decent sample of what a service using this project might look like.

@mnahkies mnahkies changed the base branch from main to mn/fix/allow-number-array-query-param August 17, 2024 10:19
mnahkies added a commit that referenced this pull request Aug 17, 2024
(identified whilst adding e2e tests in #235 🙃)
Base automatically changed from mn/fix/allow-number-array-query-param to main August 17, 2024 10:33
@mnahkies mnahkies marked this pull request as ready for review August 17, 2024 10:58
@mnahkies mnahkies merged commit 9209a3f into main Aug 17, 2024
2 checks passed
@mnahkies mnahkies deleted the mn/feat/e2e-tests branch August 17, 2024 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant