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

Migrate remote tests from PHPUnit to Mocha/Chai #138

Open
dstillman opened this issue May 9, 2023 · 0 comments
Open

Migrate remote tests from PHPUnit to Mocha/Chai #138

dstillman opened this issue May 9, 2023 · 0 comments
Assignees

Comments

@dstillman
Copy link
Member

dstillman commented May 9, 2023

So this one may be rather tedious, but we really want to stop using PHPUnit for the remote dataserver tests and start using JS and Mocha/Chai like we do everywhere else. And since these are remote integration tests that don't actually need to use the dataserver PHP code, there shouldn't be anything preventing us from doing so, other than a lot of existing tests and support code.

I actually started to look into using GPT to convert the tests, and I think we probably can to some extent, but as a first step we should get the bootstrap/setup code running under Mocha (also perhaps with some help from ChatGPT) with a basic test passing, and then we can iterate from there.

@dstillman dstillman changed the title Migrate remote tests from PHPUnit to Mocha Migrate remote tests from PHPUnit to Mocha/Chai May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants