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

Replace current testing library, intern appears to be abandoned #2168

Open
alexcottner opened this issue Jun 12, 2024 · 2 comments
Open

Replace current testing library, intern appears to be abandoned #2168

alexcottner opened this issue Jun 12, 2024 · 2 comments
Assignees

Comments

@alexcottner
Copy link

Intern appears to be abandoned (things happen). Last release was in November 2021, last merged PR was in January 2023. We may want to consider migrating to another testing framework. But probably not an urgent issue.

Switching to jest seems like an easy choice. Or possibly vite/vitest if we want to expand front-end rendering/testing with the demo app down the road.

@dstaley
Copy link
Member

dstaley commented Jun 12, 2024

I actually had a branch at one point that used Vitest's (then) new browser mode for e2e testing. It worked reasonably well, but had a few rough edges that I wasn't able to resolve in the short time that I played with it. That was about ten months ago, so I'm sure it's been dramatically improved in that time. I can probably dig up that branch!

I strongly suggest not going with Jest as it's also been struggling to keep up with modern JavaScript ecossytem features.

@alexcottner
Copy link
Author

Vitest has changed a lot in 10 months but that branch could be a good reference/starting point.

@alexcottner alexcottner self-assigned this Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants