Module: Omnitest
- Defined in:
- lib/omnitest/skeptic/scenario.rb,
lib/omnitest/skeptic.rb,
lib/omnitest/skeptic/cli.rb,
lib/omnitest/skeptic/spy.rb,
lib/omnitest/skeptic/spies.rb,
lib/omnitest/skeptic/errors.rb,
lib/omnitest/skeptic/result.rb,
lib/omnitest/skeptic/version.rb,
lib/omnitest/skeptic/evidence.rb,
lib/omnitest/skeptic/validator.rb,
lib/omnitest/skeptic/validation.rb,
lib/omnitest/skeptic/configuration.rb,
lib/omnitest/skeptic/test_manifest.rb,
lib/omnitest/skeptic/test_statuses.rb,
lib/omnitest/skeptic/test_transitions.rb,
lib/omnitest/skeptic/validator_registry.rb,
lib/omnitest/skeptic/property_definition.rb,
lib/omnitest/skeptic/scenario_definition.rb
Overview
TODO: This class really needs to be split-up - and probably renamed.
There’s a few things happening here:
There's the "Scenario" - probably better named "Scenario" - this
is *what* we want to test, i.e. "Fog - Upload Directory". It should
only rely on parsing omnitest.yaml.
Then there's the "Code Sample" - the code to be tested to verify the
scenario. This can probably be moved to Psychic, since Psychic finds
and executes the code samples.
And the result or "State File" - this stores and persists the test
results and data captured by spies during test.
Finally, there's the driver, including the FSM class at the bottom of
this file. It's responsible for managing the test lifecycle.
Defined Under Namespace
Classes: Skeptic