Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 1.72 KB

File metadata and controls

52 lines (37 loc) · 1.72 KB

Development

Requirements

Tests

Run all tests:

bin/rspec

Guard

Guard automatically runs your tests whenever a file is modified:

bin/guard
  • Type all to run all tests.
  • Type exit to leave guard.
  • Install the Livereload browser extension to automatically reload the browser page.

Automatically reloads a page on asset modification via the following browser plugin:

Tips & Tricks

  • The Rails application preloader Spring automatically speeds up your development.
  • Tests can be tagged (e.g., useful for slow tests)

Testing Environment

  • CWB can be locally installed into 2 Virtualbox VMs. Follow the Installation steps using the template from install/virtualbox/Vagrantfile

  • Notice that cloud VMs cannot communicate with the local machines unless both VMs (chef-server and cwb-server) have public hostnames.

  • The Vagrant plugin vagrant-cachier can speed up development by serving as a cache for apt, gems, etc.

    vagrant plugin install vagrant-cachier