In a new file, create a class to write and format a test summary in an excel sheet. Test summary includes information about the test such as test number, device information, the selected tests and their results, etc.
Inputs:
- Path (Directory chosen by the user to store the excel file) -->
mainwindow.dirName
# Example
'C:/team phantom'
- Test Info
1) Check-in info --> mainwindow.checkin_info
2) Selected test cases and their results
- Assume the following format for now: List of dictionaries
[{'Test Name': 'LV Power Sensor', 'Test Case': 'Test 2: Power Rail Undervoltage', 'Status': 'Pass', ‘Message’: ‘N/A’}, {'Test Name': 'LV Power Sensor', 'Test Case': 'Test 2: Power Rail Undervoltage', 'Status': 'Pass', ‘Message’: ‘N/A’}]
In a new file, create a class to write and format a test summary in an excel sheet. Test summary includes information about the test such as test number, device information, the selected tests and their results, etc.
Inputs:
mainwindow.dirName1) Check-in info -->
mainwindow.checkin_info2) Selected test cases and their results
- Assume the following format for now: List of dictionaries