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

Compare BF code to make sure it produces the same #23

Open
Zomis opened this issue Oct 11, 2015 · 1 comment
Open

Compare BF code to make sure it produces the same #23

Zomis opened this issue Oct 11, 2015 · 1 comment

Comments

@Zomis
Copy link
Owner

Zomis commented Oct 11, 2015

For refactoring purposes, test one BF code by making sure it produces the same output as another BF code

For example: $ testWith 'otherfile' which will look for otherfile.bf, run it, and will compare the output of the current code with that file

@Zomis Zomis added this to the 0.5 milestone Oct 11, 2015
@Zomis Zomis closed this as completed Oct 16, 2015
@Zomis
Copy link
Owner Author

Zomis commented Oct 17, 2015

Also add $ expected 'filename' to compare output with the contents of a file

Or add $ validator function or $ validator 'externalGroovyScript' that defines a boolean verify(String output) to validate that the BF code does what it is supposed to (if not using a whole bunch of asserts)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant