Skip to content

Would you be interested in working UTs which could be run on host system? #60

Description

@biocomp

I did a bit of refactoring here, and made UTs to run in host system. I injected mock system via a base class (which uses virtual calls) instead of macros and FAKE_SYS file generation: https://github.com/biocomp/ev3dev-lang-cpp2/blob/master/tests/api_tests.cpp.

I messed with cmake files and headers quite a lot, I guess I can simplify the change if there's an interest.

Also, there's a bug in the cache which I've found with the tests.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions