idf_build_apps.junit package
Submodules
The test report should look like something like this:
<testsuites>
<testsuite
errors="0"
failures="1"
skipped="0"
tests="29"
name="Build target esp32 in example folder"
hostname="GARM-C2-WX-1-R5S4N264"
time="1051.215"
timestamp="2022-12-15T13:25:17.689181">
<testcase
file="examples/get_started/hello_world"
name="esp32.default.examples/get-started/hello_world"
time="60.2454">
<failure message="build warnings or error message"></failure>
</testcase>
<testcase
file="examples/get_started/hello_world"
name="esp32.default.examples/get-started/hello_world"
time="60.2454">
<skipped message="skipped reason"></skipped>
</testcase>
</testsuite>
</testsuites>
- class idf_build_apps.junit.report.TestCase(name: str, *, error_reason: Optional[str] = None, failure_reason: Optional[str] = None, skipped_reason: Optional[str] = None, properties: Optional[Dict[str, str]] = None, duration_sec: float = 0, timestamp: Optional[datetime] = None)
Bases:
object
- property is_failed: bool
- property is_skipped: bool
- property is_error: bool
- to_xml_elem() Element
- class idf_build_apps.junit.report.TestReport(test_suites: List[TestSuite], filepath: str)
Bases:
object
- create_test_report() None
- idf_build_apps.junit.utils.get_size(b: float) str
- idf_build_apps.junit.utils.get_processor_name()
- idf_build_apps.junit.utils.get_sys_info() Dict[str, str]
Module contents
- class idf_build_apps.junit.TestCase(name: str, *, error_reason: Optional[str] = None, failure_reason: Optional[str] = None, skipped_reason: Optional[str] = None, properties: Optional[Dict[str, str]] = None, duration_sec: float = 0, timestamp: Optional[datetime] = None)
Bases:
object
- property is_failed: bool
- property is_skipped: bool
- property is_error: bool
- to_xml_elem() Element