Skip to content

Prevent unity from bailing on failed tests #616

@lmapii

Description

@lmapii

I'm using unity on target and it works beautifully. However, when I have a test that fails, then all the other tests are skipped without any output due to the UNITY_FAIL_AND_BAIL macro in the assertion functions (leading to TEST_ABORT).

So far the only way to prevent this is to define UNITY_EXCLUDE_SETJMP_H in my unity_conf.h file, which might have some impact on mocking. Is there no other way to do this? I've never seen this behaviour when using ceedling, there the test execution continues on failures.

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