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

Add high-level functional tests #16

Open
glesica opened this issue Nov 21, 2019 · 0 comments
Open

Add high-level functional tests #16

glesica opened this issue Nov 21, 2019 · 0 comments

Comments

@glesica
Copy link
Collaborator

glesica commented Nov 21, 2019

We should check for the following:

  • Doesn't crash on known good inputs
  • Handles known bad inputs reasonably
  • Produces valid (if not necessarily correct) trees on known good inputs
  • Modifies behavior correctly in the presence of different flags

Additionally:

Test harness and an automated, high-level test suite, compare against RapidNJ and QuickJoin, use tree distance as a heuristic
Generate some random sequences and run them through each tool, diff them against one another

Also run some very simple sequences (like the examples, perhaps) to guard against regressions and to keep the documentation correct (gold file tests) [TW suggested using random alignment generator, but with fixed seed]

Test cases (minimum): shorter than the SSE registers, exactly equal to, and larger than the registers (length should be a prime number)

@glesica glesica added this to the 1.0.0 Release milestone Nov 21, 2019
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