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.

Gemfile:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

  1. 1.0.0 - October 15, 2011 (6,5 KB)
  2. 0.1.5 - March 01, 2011 (6,5 KB)
  3. 0.1.4 - February 26, 2011 (6 KB)
  4. 0.0.7 - February 26, 2011 (6,5 KB)
  5. 0.0.2 - February 25, 2011 (5,5 KB)
Zeige alle Versionen (6 total)

Besitzer:

Autoren:

  • Graeme Hill

SHA 256-Prüfsumme:

732c1006e7e1decf8644d4429efe6a0d549a719f450f5167d404ca12271d6c7d

Downloads insgesamt 22.175

Für diese Version 4.483

Lizenzen:

k.A.

Erforderliche Ruby-Version: None

Links: