Skip to content

Add CI tests? #391

@tlambert03

Description

@tlambert03

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions