-
Notifications
You must be signed in to change notification settings - Fork 13
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
Document/update integration tests #184
Comments
@sajith - All the tests in
|
@kthare10 Thank you for the input! This is very helpful. Since acceptance testing notebooks are well-exercised, they would be more useful as tests of FABLib than the "mystery" tests that we have in this repository. I think we can add a tox environment to run them, rather than adding them as script entrypoints. That probably is the right thing to do since they do not have to be packaged. Stuff marked as scripts will end up in a As for the existing "mystery" tests, I think I sort of have figured out a way to make them runnable -- we'll need to add a In order to determine if resurrecting the mystery tests is worth the trouble, it would be helpful to figure out if mystery tests and acceptance notebooks are different in scope. If that is the case, it probably makes sense to bring them up-to-date? Perhaps we can remove the less useful ones on a case-by-case basis? Turning the acceptance test notebooks to FABLib tests also will require some work anyway. I am not totally opposed to just removing them altogether. Code can be both an asset and a liability. At the moment I am just not sure which category the mystery tests belong to. :-) |
@kthare10 Also, removing them was my initial preference too. But if I understand correctly @paul-ruth is not so sure. |
PR #186 merely re-organized tests folder. Re-openining this issue for follow-ups. |
The tests in fabrictestbed_extensions.tests are mostly undocumented. It is not clear to me how to use the ones that look like integration tests and/or benchmarks. I only know how to run the simple unit tests that I added, and they are already run against PRs and merges by the GitHub Actions.
It would be useful to move the tests to a top-level folder such that they are not included in FABLib packaging. We could also split them into sub-folders, like so:
And then run them using tox, like so:
Because of the need for acquiring FABRIC tokens (which requires a bit of human intervention), we might not be able to run the integration tests on GitHub Actions. But they can work on developer machines, and that would be an improvement.
The text was updated successfully, but these errors were encountered: