Auto-discovers test classes in the working directory and runs the tests with basically no boot up time and no configuration. It doesn't matter how you structure your project, instead, simple naming conventions are used: - All test files should be named *_tests.rb - All test methods should be named test__* Other things you need to know: - All test classes should inherit FasTest::TestClass - There are two setup and two teardown methods: - class_setup: Called once before any of the tests - class_teardown: Called once after any of the tests - test_setup: Called before each test - test_teardown: Called after each test Take a look in the test folder to see an example of how the library is used. (fas_test is used to test itself). To actually run your tests just invoke fastest.rb from a command line. It will automatically recursively discover all of your test classes within the working directory and run there tests.
Project
fas_test
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.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Dependencies
Project Readme