-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Research Typescript as an alternative for testing #47
Comments
Typescript doesn't do runtime checking so it can't check if json matches a type.
|
Use describe.each() for parameterized test groups (source) or test.each. it is an alias for test |
The goal is to have more specific error messages when something is broken. Right now with our tests, it will say 'Something didn't meet this requirement' but doesn't always say which creed and where in the creed it failed. If typescript vitests can do this, we should convert. There are other benefits but this is the primary one |
We have:
The footnote-y bits are left:
Maybe also test:
|
It works!! All 'em tests be re-written and it is pretty nice. Here are some stretch goals:
|
We're going to TypeScript! |
(Idea came from #46)
Can we cleanly use Typescript just for testing?
The text was updated successfully, but these errors were encountered: