-
Notifications
You must be signed in to change notification settings - Fork 4
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
Unit tests #39
Comments
All data and analytic objects (except for extract) have basic unit tests. Things that remain:
|
I was almost able to upgrade one of my analytic unit tests (ImportExpressionMatrix) to ACE v3, but I can't find a way to run analytics synchronously because From some further research, I think the best course will be to follow Qt's suggested paradigm and split each test class into a separate executable and use |
Best practices for Qt unit testing: https://wiki.qt.io/Writing_Unit_Tests |
@bentsherman is this something being actively worked on or should we close it out to keep issues we don't have time for and want to deal with later out of the queue. |
This issue is complementary to #96. At some point it would be nice if someone could address the issues I've raised here about the Qt unit tests. But honestly doing #96 would be more useful. So I will follow suit with @spficklin and label this as something for the future. |
Need to develop a suite of unit tests as our code begins to solidify. Going to try to document some tests here so that I remember to develop them later:
Data types: test writing to file / reading from file
CCMatrix
CorrelationMatrix
ExpressionMatrix
Algorithms: test with small data (Iris / Yeast), verify results against other libraries (gsl, sklearn)
GMM
KMeans
Pearson
Spearman
Analytics: test all applicable capabilities with small data, verify results across capabilities
The text was updated successfully, but these errors were encountered: