Skip to content

would like a single function to reset all stubs #546

@CDKnightNASA

Description

@CDKnightNASA

In writing unit tests, I would find it useful to be able to reset the stub configurations per each test, and while there is a way to reset individual stubs, there is not a global reset capability in the ut_assert framework.

The UT_ResetState() resets one stub, and makes reference to UT_Init(), but the UT_Init() function is not exposed publicly.

* are reset. This is basically equivalent to UT_Init() without

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions