You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Goal: To have all serial logged to a separate file while tests are running
The problem:
Currently, serial output is only logged to the serial.log file when the serial module's read and write functions are called. This means all the output in-between serial actions is lost. This information could be useful in debugging issues when tests show failures.
The solution:
Having the serial module spawn a separate thread for its logging when the test is started (and serial is listed in the config). All output read through the serial console should be written into the serial.log file. With the serial module being updated to have all its read methods read from the serial.log file instead of actually reading from the serial console directly.
Bonus task:
Add timestamps to the serial output as it's logged into the serial.log file.
Acceptance Criteria:
All serial console output will be logged to a file while a test is running.
The text was updated successfully, but these errors were encountered:
Goal: To have all serial logged to a separate file while tests are running
The problem:
Currently, serial output is only logged to the serial.log file when the serial module's read and write functions are called. This means all the output in-between serial actions is lost. This information could be useful in debugging issues when tests show failures.
The solution:
Having the serial module spawn a separate thread for its logging when the test is started (and serial is listed in the config). All output read through the serial console should be written into the serial.log file. With the serial module being updated to have all its read methods read from the serial.log file instead of actually reading from the serial console directly.
Bonus task:
Add timestamps to the serial output as it's logged into the serial.log file.
Acceptance Criteria:
The text was updated successfully, but these errors were encountered: