1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 14:07:45 +00:00

LibTest: Provide detailed per-file JSON output with --per-file

This makes test-js style runners dump out output in the same format as
libjs-test262's per-file output.
This commit is contained in:
Ali Mohammad Pur 2022-03-08 07:09:41 +03:30 committed by Linus Groh
parent 3063aedb0c
commit 8b50009e9b
6 changed files with 100 additions and 28 deletions

View file

@ -24,9 +24,11 @@ struct Case {
String name;
Result result;
String details;
u64 duration_us;
};
struct Suite {
String path;
String name;
// A failed test takes precedence over a skipped test, which both have
// precedence over a passed test