Web Interface:

With the dev environment running, you can now access the web interface via localhost:4000/. Supply an OpenID to log in.

Spec testing:

We use RSpec for unit/spec tests.

rake spec

This doesn’t actually use the development environment, because it does the testing on all the Chef internals. For integration/usage testing, we use Cucumber features.

Integration testing:

We test integration with Cucumber. The available feature tests are rake tasks:

rake features # Run Features with Cucumber
rake features:api # Run Features with Cucumber
rake features:api:nodes # Run Features with Cucumber
rake features:api:nodes:create # Run Features with Cucumber
rake features:api:nodes:delete # Run Features with Cucumber
rake features:api:nodes:list # Run Features with Cucumber
rake features:api:nodes:show # Run Features with Cucumber
rake features:api:nodes:update # Run Features with Cucumber
rake features:api:roles # Run Features with Cucumber
rake features:api:roles:create # Run Features with Cucumber
rake features:api:roles:delete # Run Features with Cucumber
rake features:api:roles:list # Run Features with Cucumber
rake features:api:roles:show # Run Features with Cucumber
rake features:api:roles:update # Run Features with Cucumber
rake features:client # Run Features with Cucumber
rake features:language # Run Features with Cucumber
rake features:language:recipe_include # Run Features with Cucumber
rake features:provider:package:macports # Run Features with Cucumber
rake features:provider:remote_file # Run Features with Cucumber
rake features:search # Run Features with Cucumber