Automated Testing
aspiers edited this page Apr 5, 2013
·
17 revisions
This document aims to cover the various Crowbar automated test suites contained within the Crowbar git repos. Automated execution of these test suites e.g. via CI infrastructure is context-dependent and falls outside the scope of this document - please see Continuous Integration for futher details.
FIXME: this document is being moved to the doc/devguide/
subdirectory of the crowbar
repository. There are
auxiliary pages in the doc/devguide/
subdirectory of other barclamps, e.g. barclamp-crowbar
.
- Rails RSpec tests, focusing on testing models and non-visible controller actions (REST API)
- Rails unit tests, focusing on models (will be phased out in favor of RSpec unit tests)
- BDD tests for UI & REST API calls
- chefspec for unit-testing chef recipes
- Self-test from CLI during installation
- Tempest barclamp
Known gaps in testing:
- Integration test suite
- reinstall of node
- non-green field
- update of a proposal