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

Implement support for unit testing #20

Open
kendalharland opened this issue Oct 24, 2020 · 0 comments
Open

Implement support for unit testing #20

kendalharland opened this issue Oct 24, 2020 · 0 comments
Labels
backlog This is unlikely to be implemented project This is a large project and is unlikely to be implemented

Comments

@kendalharland
Copy link
Contributor

kendalharland commented Oct 24, 2020

A simple start would be an Oba module with a small framework for writing unit tests which are run as normal programs. If a test fails, it ensures the program's exit code is nonzero. If all tests pass, the exit code should be zero unless the user's code explicitly sets something else.

A nice followup might involve adding a test subcommand to the interpreter if we want to add more complexity like filtering tests by name, changing the output format, etc..

@kendalharland kendalharland added the project This is a large project and is unlikely to be implemented label Oct 24, 2020
@kendalharland kendalharland added this to the 2.0.0 milestone Oct 24, 2020
@kendalharland kendalharland added the backlog This is unlikely to be implemented label Nov 7, 2020
@kendalharland kendalharland removed this from the 2.0.0 milestone Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog This is unlikely to be implemented project This is a large project and is unlikely to be implemented
Projects
None yet
Development

No branches or pull requests

1 participant