Skip to content
This repository has been archived by the owner on Feb 3, 2020. It is now read-only.

Test Runner #10

Open
2 tasks
sunjay opened this issue Jan 21, 2017 · 0 comments
Open
2 tasks

Test Runner #10

sunjay opened this issue Jan 21, 2017 · 0 comments

Comments

@sunjay
Copy link
Owner

sunjay commented Jan 21, 2017

Much like the test runner in Rhino, we should have something that runs the example brain files.

We could structure it like this:

examples/
    brain/
        test1.brain
        test1.in
        test1.out

The .in file is optional and can be used to provide input to the test .brn file. The test runner would be in tests/example_runner.rs or something. It would run each test with its input (if available) and compare it to the output to always ensure that our examples work.

  • Be able to test errors as well like syntax errors, etc.
  • Make sure all .brn examples at least compile (add this as a test)
@sunjay sunjay self-assigned this Jan 21, 2017
@sunjay sunjay modified the milestone: MVP - 1.0.0 Jan 22, 2017
@sunjay sunjay moved this from Next to In Development in MVP - 1.0.0 Jan 28, 2017
@sunjay sunjay moved this from In Development to Backlog in MVP - 1.0.0 Jan 28, 2017
@sunjay sunjay moved this from Backlog to Next in MVP - 1.0.0 Feb 26, 2017
@sunjay sunjay moved this from Next to Backlog in MVP - 1.0.0 Mar 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Development

No branches or pull requests

1 participant