Files
zulip/zerver/lib
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-02-07 18:51:06 -08:00
2021-12-28 09:31:55 -08:00
2022-07-05 17:54:17 -07:00
2022-05-13 20:42:20 -07:00
2022-06-23 19:22:12 -07:00
2022-02-07 18:51:06 -08:00
2022-02-07 18:51:06 -08:00
2022-05-02 17:41:49 -07:00
2022-06-23 19:22:12 -07:00
2022-04-07 17:26:01 -07:00
2022-07-22 16:31:18 -07:00