RubyGems Navigation menu

fas_test 1.0.0

Auto-discovers test classes in the working directory and runs the tests with<br/><br/>basically no boot up time and no configuration. It doesn't matter how you<br/><br/>structure your project, instead, simple naming conventions are used:<br/><br/><br/><br/> - All test files should be named *_tests.rb<br/><br/> - All test methods should be named test__*<br/><br/><br/><br/>Other things you need to know:<br/><br/><br/><br/> - All test classes should inherit FasTest::TestClass<br/><br/> - There are two setup and two teardown methods:<br/><br/> - class_setup: Called once before any of the tests<br/><br/> - class_teardown: Called once after any of the tests<br/><br/> - test_setup: Called before each test<br/><br/> - test_teardown: Called after each test<br/><br/><br/><br/>Take a look in the test folder to see an example of how the library is used.<br/><br/>(fas_test is used to test itself).<br/><br/><br/><br/>To actually run your tests just invoke fastest.rb from a command line. It will<br/><br/>automatically recursively discover all of your test classes within the working<br/><br/>directory and run there tests.

Versions:

  1. 1.0.0 - October 15, 2011 (6.5 KB)
  2. 0.1.5 - February 28, 2011 (6.5 KB)
  3. 0.1.4 - February 25, 2011 (6 KB)
  4. 0.0.7 - February 25, 2011 (6.5 KB)
  5. 0.0.2 - February 24, 2011 (5.5 KB)
Show all versions (6 total)

Authors:

  • Graeme Hill

Owners:

Ffd7ad3163db4eb4161d42cf2234a411

Total downloads 7,655

For this version 1,295

Show all versions (6 total)

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'fas_test', '~> 1.0.0' = Copy to clipboard Copied!

install:
gem install fas_test = Copy to clipboard Copied!

Links: