rough-minister-58256
06/18/2018, 11:58 PMrough-minister-58256
06/19/2018, 2:54 AMgoing to guess that the best we’ll be able to do with multiple processes is dump each as they finish, followed by the frontend task rendering an aggregated summary
rough-minister-58256
06/19/2018, 2:54 AMrough-minister-58256
06/19/2018, 2:54 AMrough-minister-58256
06/19/2018, 2:58 AM@rule(PytestResults, ...)
that conducts a full pytest run (and not be allowed to emit any output of its own) and the @console_rule
would be responsible for getting those and emitting output + summarizing aggregates.rough-minister-58256
06/19/2018, 2:58 AM@console_rule
for cases of e.g. weaving pytest + junit + rust + whatever test runnersrough-minister-58256
06/19/2018, 3:00 AMrough-minister-58256
06/19/2018, 3:02 AMpy.test tests -vvs --pdb
that drops you into pdb - I think that’s a special “mode” of running maybe? ./pants --interactive test /x/y/z:test
that somehow routes you to an interactive mode @console_rule
that can invoke the pytest runner rule more directly, without cachingrough-minister-58256
06/19/2018, 3:05 AMrough-minister-58256
06/19/2018, 3:07 AM@rule
to render output (unless invoked interactively, which is maybe another impl variant?)rough-minister-58256
06/19/2018, 3:08 AMTrait
?witty-crayon-22786
06/19/2018, 3:10 AMrough-minister-58256
06/19/2018, 3:10 AMwitty-crayon-22786
06/19/2018, 3:11 AMwitty-crayon-22786
06/19/2018, 3:11 AMrough-minister-58256
06/19/2018, 3:11 AMPytestResults.logs
?witty-crayon-22786
06/19/2018, 3:11 AMrough-minister-58256
06/19/2018, 3:11 AM@console_rule
I think?witty-crayon-22786
06/19/2018, 3:11 AMrough-minister-58256
06/19/2018, 3:12 AMwitty-crayon-22786
06/19/2018, 3:12 AMrough-minister-58256
06/19/2018, 3:12 AMrough-minister-58256
06/19/2018, 3:12 AMwitty-crayon-22786
06/19/2018, 3:12 AMrough-minister-58256
06/19/2018, 3:13 AMrough-minister-58256
06/19/2018, 3:13 AMrough-minister-58256
06/19/2018, 3:13 AMrough-minister-58256
06/19/2018, 3:13 AMrough-minister-58256
06/19/2018, 3:14 AMrough-minister-58256
06/19/2018, 3:15 AM