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

Create a test suite for the Mix tasks #27

Open
alco opened this issue Mar 24, 2015 · 2 comments
Open

Create a test suite for the Mix tasks #27

alco opened this issue Mar 24, 2015 · 2 comments

Comments

@alco
Copy link
Owner

alco commented Mar 24, 2015

No description provided.

@bbense
Copy link
Contributor

bbense commented May 2, 2015

I've made a first pass at a simple test.

https://github.com/bbense/benchfella/tree/mix_task_test

@alco
Copy link
Owner Author

alco commented May 19, 2015

Hey @bbense,

Sorry for not getting back to your earlier. The issue with multiple invocations of Benchfella needs to be solved at the architectural level. Currently it is invoked from an at_exit callback and the code doesn't have any special measures guarding against repeated initialization of ETS tables and other things.

As for testing the tasks, the primary focus should be on verifying that all options work. The output should only be checked for basic clues that indicate that the expected tests are running. Since there will be more than one output format and the current format is likely to change in the future, I wouldn't advise comparing the whole output against a string.

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

2 participants