https://pantsbuild.org/ logo
#development
Title
# development
h

hundreds-breakfast-49010

08/21/2019, 11:54 PM
what are some examples in python tests of how to execute a single
@rule
?
w

witty-crayon-22786

08/21/2019, 11:59 PM
use
run_rule
that represents the absolute most unity a unit test of a rule can be
ConsoleRuleTestBase is closer to an integration test
self.context.scheduler.product_request
on a TestBase subclass is a middle ground where you can install additional rules and shims, but still operate on a bunch of rules
h

hundreds-breakfast-49010

08/22/2019, 12:02 AM
cool will look