Skip to content

Task:Asserts in GTEST run summary needs updation #91

@kanjoe24

Description

@kanjoe24

Goal

Currently for the GTEST based run summary the asserts are not actual values.
As gtest doesn't provide provision for counting actual asserts used by the test, the current value of asserts is same as number of tests.
This needs to be changed in future, by adding variables inside ut_gtest macros.

Ex:

#define UT_EXPECT_EQ(val1, val2) \
    do { \
        ++gtest_macro_total; \
        EXPECT_EQ(val1, val2); \
        if (!::testing::Test::HasFailure()) ++gtest_macro_passed; \
    } while (0)

Notes (Optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions