Zixuan James Li
62cbacbfe7
test_runner: Write failed tests with a side effect.
...
`DiscoverRunner.run_tests` has a return type of `int`. While
`Runner.run_tests` has a wildly different `Tuple[bool, List[str]]`.
This refactors it so that we have the correct return type, by passing
the additional information about failed tests through a side effect to directly
write the failed tests to a file.
Note that we have to make `failed_tests_path` optional as otherwise the method
signature will not be compatible with the supertype.
Signed-off-by: Zixuan James Li <p359101898@gmail.com >
2022-07-29 13:59:30 -07:00
..
2022-07-22 16:41:55 -07:00
2022-04-27 12:57:49 -07:00
2022-07-13 14:10:00 -07:00
2022-02-07 18:51:06 -08:00
2022-02-16 13:15:39 -08:00
2022-05-03 10:10:06 -07:00
2021-12-28 09:31:55 -08:00
2022-04-14 17:14:34 -07:00
2022-05-04 12:52:43 -07:00
2022-07-07 11:28:13 -07:00
2022-07-07 11:27:43 -07:00
2022-06-23 19:25:48 -07:00
2022-07-13 16:07:17 -07:00
2022-06-28 16:05:24 -07:00
2022-07-05 17:54:17 -07:00
2021-12-28 09:31:55 -08:00
2022-07-15 14:00:56 -07:00
2022-07-07 11:27:42 -07:00
2022-07-07 11:28:13 -07:00
2022-04-14 17:14:30 -07:00
2022-05-16 12:04:38 -07:00
2022-07-26 18:00:24 -07:00
2022-02-07 18:51:06 -08:00
2022-07-12 16:43:29 -07:00
2022-07-15 14:00:56 -07:00
2022-07-13 17:07:44 -07:00
2022-07-14 14:27:32 -07:00
2022-07-26 14:17:46 -07:00
2022-07-26 17:14:26 -07:00
2022-02-07 18:51:06 -08:00
2022-06-23 22:09:05 -07:00
2021-12-07 21:55:59 -08:00
2022-05-13 20:42:20 -07:00
2022-07-26 17:36:53 -07:00
2022-03-21 12:05:59 -07:00
2022-07-26 18:00:24 -07:00
2022-06-28 16:05:24 -07:00
2022-07-07 11:27:43 -07:00
2022-01-23 22:16:01 -08:00
2022-06-23 19:22:12 -07:00
2022-07-13 17:07:44 -07:00
2022-05-17 14:58:31 -07:00
2022-02-07 18:51:06 -08:00
2022-02-07 18:51:06 -08:00
2022-04-27 16:43:54 -07:00
2022-04-28 15:03:26 -07:00
2022-01-23 22:14:17 -08:00
2022-04-14 17:14:34 -07:00
2022-07-07 11:27:43 -07:00
2022-04-14 12:44:35 -07:00
2022-04-27 16:43:54 -07:00
2022-05-02 17:41:49 -07:00
2022-03-24 10:50:00 -07:00
2022-04-14 17:14:30 -07:00
2022-07-28 09:38:40 -07:00
2022-07-18 18:01:42 -07:00
2022-06-25 08:36:16 -07:00
2022-07-07 11:27:42 -07:00
2022-03-15 13:52:15 -07:00
2021-11-26 16:06:16 -08:00
2022-06-23 19:22:12 -07:00
2022-07-07 11:27:42 -07:00
2022-04-14 17:14:34 -07:00
2022-05-31 09:43:55 -07:00
2022-05-02 17:41:49 -07:00
2022-07-07 11:28:13 -07:00
2022-04-14 14:26:40 -07:00
2022-02-10 11:59:41 -08:00
2022-07-27 13:46:13 -07:00
2022-03-14 18:01:36 -07:00
2022-07-07 11:28:13 -07:00
2022-02-07 18:51:06 -08:00
2022-03-14 18:01:36 -07:00
2022-07-26 17:25:52 -07:00
2022-02-01 16:04:34 -08:00
2022-02-18 18:03:13 -08:00
2022-07-13 17:07:44 -07:00
2022-07-26 18:00:24 -07:00
2022-07-05 17:54:17 -07:00
2022-05-03 10:10:06 -07:00
2022-01-23 22:16:01 -08:00
2022-07-28 09:38:40 -07:00
2022-07-29 13:59:30 -07:00
2022-01-23 22:16:01 -08:00
2022-07-12 17:44:24 -07:00
2022-04-07 17:26:01 -07:00
2022-02-24 14:05:12 -08:00
2022-07-13 16:07:17 -07:00
2022-07-07 11:28:13 -07:00
2022-07-20 22:00:05 -07:00
2022-07-15 14:55:03 -07:00
2022-07-06 17:20:40 -07:00
2022-03-01 18:14:31 -08:00
2022-04-14 17:14:30 -07:00
2022-07-07 11:28:13 -07:00
2022-04-14 17:14:30 -07:00
2022-07-22 16:31:18 -07:00
2022-07-07 11:27:43 -07:00
2022-07-27 14:28:31 -07:00
2022-07-13 16:07:17 -07:00
2022-04-14 17:14:34 -07:00