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

write tests #3

Closed
BurntSushi opened this issue Jul 23, 2016 · 4 comments
Closed

write tests #3

BurntSushi opened this issue Jul 23, 2016 · 4 comments

Comments

@BurntSushi
Copy link
Owner

No description provided.

@Apanatshka
Copy link
Contributor

Did you have anything specific in mind here?

@BurntSushi
Copy link
Owner Author

Unit tests:

  • Test the benchmark parser, including the fact that throughput is optional.
  • Test that find overlap finds the correct pairs.
  • Test that find overlap reports correct missing benchmarks (for both old and new).
  • Test that the name determination for the two columns works correctly when given two file paths. (This may require refactoring the names method off of the Args struct.)
  • Test commafy.

Integration tests:

  • Test some basic example inputs and check that it produces the expected output.
  • Test that the name prefix feature works. (Possibly also refactor code into a unit test.)
  • Test that passing input on stdin works.

There may be others but this is all I've got off the top of my head at the moment. Bonus points if we can use quickcheck.

@Apanatshka Apanatshka mentioned this issue Aug 6, 2016
8 tasks
@Apanatshka
Copy link
Contributor

Given #10 and #13, can we close this?

@BurntSushi
Copy link
Owner Author

Oh yes indeed! Thanks so much. :-)

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