UDMI / Docs / Guides / Sequencing
Sequencing is a set of testing steps for verifying that sequences of device behavior are correct.
bin/test_sequencer $PROJECT_ID
This:
/tmp/validator_config.json
/tmp/pubber_config.json
pubber
instance for bin/sequencer
test run.validator/sequences/
to optimize incremental runs./tmp/sequencer.out
against etc/sequencer.out
In two separate terminals:
pubber/bin/run /tmp/pubber_config
bin/sequencer $PROJECT_ID
This:
bin/test_sequencer
At its heart, sequence tests are JUnit @Test
classes that can be run individually within an IDE. This
is useful for development because it enables breakpoints and all that jazz. Still need to run the two
parts, with several different options:
For Pubber:
bin/pubber
with appropriate arguments.pubber/bin/run /tmp/pubber_config
as per above.For sequence testing:
bin/sequencer
as per above.