Skip to content

feat: add e2e test suite#235

Merged
mnahkies merged 4 commits into
mainfrom
mn/feat/e2e-tests
Aug 17, 2024
Merged

feat: add e2e test suite#235
mnahkies merged 4 commits into
mainfrom
mn/feat/e2e-tests

Conversation

@mnahkies

Copy link
Copy Markdown
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
@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