I use the ResultFactory to do this. I also create a custom css stylesheet to use for each cell in the Gtk.ColumnView displaying the results. This lets us add custom colors so we can easily see at a glance what is failing, passing, or skipped. Signed-off-by: Anna Schumaker <anna@nowheycreamery.com>
17 lines
285 B
CSS
17 lines
285 B
CSS
/* Copyright 2023 (c) Anna Schumaker. */
|
|
|
|
cell.passed {
|
|
color: @success_fg_color;
|
|
background-color: @success_bg_color;
|
|
}
|
|
|
|
cell.skipped {
|
|
color: @warning_fg_color;
|
|
background-color: @warning_bg_color;
|
|
}
|
|
|
|
cell.failure {
|
|
color: @error_fg_color;
|
|
background-color: @error_bg_color;
|
|
}
|