Skip to content

Redesign for unit-tests #18

Closed
Closed
@sea5kg

Description

@sea5kg

bool bTestSuccess = true;

TestResult testResult;
testResult.failed("reason"); 
  1. To some nice object which can change state only to false no more for example struct
  2. Define this object in constructor of class WsjcppUnitTestBase
  3. remove from compare
  4. Add template compareT("sowhat", const T &aleft, const T &aright);
  5. from method run remove 'return' users must use TestSuccess Object for results
  6. add method getResult

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions