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

Add function-based tests definitions #1

Open
Alphish opened this issue Jul 3, 2023 · 0 comments
Open

Add function-based tests definitions #1

Alphish opened this issue Jul 3, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Alphish
Copy link
Owner

Alphish commented Jul 3, 2023

Allow an alternative method of defining tests. Rather than using method-based approach, with static methods determining the tests, allow defining methods in a suite using some function like so:

add_test("make_game() should create a working game", function() {
   // do the test here 
});
@Alphish Alphish added the enhancement New feature or request label Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant