Skip to content

Description not updated #104

@SusmitaDey

Description

@SusmitaDey

Run the tests and generate HTML report

if name == 'main':

# Load configuration and test info from config_loader
config, test_info = config_loader.load_test_config()  
port, baud_rate = config_loader.load_comm_config()
Test_Command_0x0220.RS485 = C_INTERFACE(baud_rate=baud_rate, slave_address=0xFF)
Test_Command_0x0220.RS485.connect_port(port=port)

# Define the test suite
test_suite = unittest.TestLoader().loadTestsFromTestCase(Test_Command_0x0220)

# Initialize the HTMLTestRunner
runner = HtmlTestRunner.HTMLTestRunner('test_report',
                                       report_title="K210015-Alpitronic-1000A-Sensor-C-Interface",
                                       report_name="Test_Requirement_C_Interface_0x220_report",
                                       descriptions="<b>Test Description:</b> This is a simple test description.",
                                       combine_reports=True,
                                       )

# Run the test suite with the HTMLTestRunner
runner.run(test_suite)

This is the file i am running and the arg descruptions is descriptions="Test Description: This is a simple test description.", But i cannot see it in my html report. What could be the possible error??
@oldani @pschluet @billyeh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions