nasa / fprime

F´ - A flight software and embedded systems framework
https://fprime.jpl.nasa.gov
Apache License 2.0
9.96k stars 1.29k forks source link

Integration Test API: Adding CSV Logger to Test Logger #2644

Open LeStarch opened 3 months ago

LeStarch commented 3 months ago
F´ Version
Affected Component

Recommendation for adding a csv logger to the TestLogger class:

  1. Set up the csv log file in the constructor here.
  2. Add a _log_csv_row() helper along similar lines to the _get_ws_row() helper here
  3. Log the start time at the top of the file like the excel output does here.
  4. Log the column headers to csv like the excel does here.
  5. Log messages in the lock block here.