Commit Graph

8 Commits

Author SHA1 Message Date
Mitchell Hashimoto 42a5e02db4 Clean up test load paths 2011-12-11 15:53:11 -08:00
Mitchell Hashimoto 8787c4b876 Acceptance tests: Get rid of remaining "assert" statements 2011-11-08 23:09:04 -08:00
Mitchell Hashimoto 87bc6ec63f RSpec is coming in for acceptance tests. More details follow...
RSpec was chosen to be used for acceptance tests for many reasons:

* The tests are actually much cleaner now. It is clearer to see what
  is being tested, and what is being used for setup.
* Matcher transition will be coming soon. This will really clean up
  a lot of the "assert" boilerplate all over. There was a lot of repetition
  in this area.
* Shared examples will help greatly for testing common error cases
  for many commands.
* The test runner for RSpec is simply much better. Being able to specify
  the exact test to run by line, for example, is a great help.
2011-11-06 23:47:23 -08:00
Mitchell Hashimoto 55f2ac3f54 Isolated env will log output of command as it comes. Update tests. 2011-11-05 14:44:24 -07:00
Mitchell Hashimoto 78f8705c5b Make the `vagrant` tests cleaner 2011-11-03 21:38:07 -07:00
Mitchell Hashimoto f741d81582 Fix color tests 2011-11-02 23:37:19 -07:00
Mitchell Hashimoto 974c180d8f Tests that color and --no-color work properly 2011-11-02 23:16:29 -07:00
Mitchell Hashimoto d753b750e9 Do not output color if stdout is not a TTY 2011-11-02 21:59:35 -07:00