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

Request: Please have skeleton test script for the node template so all the TS and other configs for writing tests is in place. #18

Closed
Tracked by #204
technomage opened this issue Dec 11, 2023 · 3 comments · Fixed by restatedev/examples#75
Assignees

Comments

@technomage
Copy link
Collaborator

technomage commented Dec 11, 2023

It would be helpful to encourage testing, and to have the template set up the build (in particular for those not as familiar with typescript build proceses. It would also help to have examples of unit tests or integration tests for restate services.

@tillrohrmann tillrohrmann transferred this issue from restatedev/restate Dec 12, 2023
@tillrohrmann
Copy link
Contributor

Related to restatedev/sdk-typescript#101.

@slinkydeveloper
Copy link
Contributor

Hey @technomage, I have an update about this issue. I've been experimenting a bit with testcontainers and i managed to put together a more or less working example: #19

But to get it right we probably need to implement some changes in sdk-typescript first.

@slinkydeveloper
Copy link
Contributor

Hi @technomage I added an example in https://github.com/restatedev/examples/tree/main/typescript/end-to-end-testing that shows you how to test your service with testcontainers, hope it helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants