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

@BurntSushi BurntSushi commented Jul 23, 2016

No description provided.

@Apanatshka
Copy link
Contributor

@Apanatshka Apanatshka commented Jul 26, 2016

Did you have anything specific in mind here?

@BurntSushi
Copy link
Owner Author

@BurntSushi BurntSushi commented Jul 26, 2016

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 of 8 tasks complete
@Apanatshka
Copy link
Contributor

@Apanatshka Apanatshka commented Sep 27, 2016

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

@BurntSushi
Copy link
Owner Author

@BurntSushi BurntSushi commented Sep 27, 2016

Oh yes indeed! Thanks so much. :-)

@BurntSushi BurntSushi closed this Sep 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.