SDK docs menu

class

TestCase

One test's result in a UnitTestReport.

from hardlabs_sdk import TestCase

Attributes

namestr
The test's name: test_bar (Unity) or Suite.Name (GoogleTest).
statusstr
passed, failed or skipped.
messagestr
Why it failed, as the framework printed it.
filestr | None
The test's source file, when the framework prints it (Unity).
lineint | None
The line in that file.