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

New testing way #17

Merged
merged 10 commits into from
Jan 16, 2024
Merged

New testing way #17

merged 10 commits into from
Jan 16, 2024

Conversation

m7medVision
Copy link
Collaborator

This pull request introduces a new approach to testing. It involves creating a .js file for each test case.

To create a test case, you need to create a file in the following location: ./testcases/[slug].js. This code will be injected into the Editor.tsx file, which means you can utilize the code variable and perform any necessary operations.

After conducting the test, you should update the isPass variable to either true or false depending on the test result, and provide a relevant message in the msg variable.

This new testing methodology provides a more flexible and comprehensive way to validate code.

There are examples in testcases folder .

@m7medVision m7medVision merged commit 0b508d9 into main Jan 16, 2024
3 checks passed
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