-
Notifications
You must be signed in to change notification settings - Fork 111
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 CI tests? #391
Comments
Much to discuss here, but a few initial thoughts:
|
perfect. all makes sense and very helpful. waiting for the move to meson makes a lot of sense. I recall seeing that a year ago or so and I think i even played with that branch a bit. Does this branch still reflect the state of the meson transition? https://github.com/micro-manager/mmCoreAndDevices/tree/meson Is this something that's kind of on the back-burner for now (if for no other reason that limited time/resources)? or is it something you're actively working on? linking #86 for related discussion as well. |
Nope, that branch is older than the current plan (micro-manager/micro-manager#1392) and the overall structure is meant to be quite different. This has indeed been on the back-burner for a while, but I intend to get back to it before the end of the year. But pymmcore can use Meson independently of this repo, because pymmcore doesn't use any of the build scripts here anyway (for now; once MMDevice/MMCore build with Meson and live in their own repos we will be able to make them proper dependencies, but that can happen later). So we can get started on that first and avoid having the integration tests you propose be coupled to the lager build system project. |
Hey @marktsuchida,
As discussed in #372, there isn't much unit testing set up in this repo, and what has been written isn't getting run on CI. I'm willing to put in a little work to get that setup, but wanted to discuss strategy first.
I know there's a little logic in place in the micro-manager repo to test stuff here, but it looks like that relies on manual local testing right? (no CI setup there either).
Being a C++ repo, the obvious choice is to continue with googletest here, but one other option would be to go ahead and actually build pymmcore around this repo and run pytest on it. The advantage would be that it would be a very full integration test for at least one half of the downstream use cases, and would enable people to add new tests very easily (i.e. without having to learn googletest). the downside of course is that it's a bit weird to test a c++ library with python or java (even if that library is usually used by one of those languages).
Anyway, just curious to get your thoughts before putting in any work. If you had time to devote to setting up more testing here, how would you do it?
The text was updated successfully, but these errors were encountered: