6.6.0
6.6.0
Fixes
- Issue 79: Scaling wasn't being accounted for by the
maximize
method. - Issue 80: Inner classes are no longer included in the count of scripts that were ran.
Features
Issue 83: Added option to include subdirectories. Thanks to ChemicalInk for doing the initial work to implement the traversals. The option is off by default so that it doesn't break anything. This will probably change in later releases.
- gutconfig: include_subdirs
- command line: -ginclude_subdirs
- editor: Include Subdirectories
- Gut instance: set/get_include_subdirectories()
Issue 69: Renamed some methods. The old names will remain but the documentation has been updated to reflect the new names. If I ever end up removing the old names they will become deprecated for awhile and then removed in some later release.
assert_get_set_methods
renamed toassert_accessors
b/c it is easier to sayassert_extends
renamed toassert_is
b/c the keyword changed in gut 3.0
The setup/teardown methods got a rename so they are a little easier to understand. You should use the new names going forward, but refactoring existing tests can be messy (see note below).
prerun_setup
renamed tobefore_all
setup
renamed tobefore_each
postrun_teardown
renamed toafter_all
teardown
renamed toafter_each
Note about setup/teardown rename:
- The new methods could not be actual aliases due to how they are used internally. They exist side by side with the old names and are called after the old methods. DO NOT use both in the same script.
- If you refactor your tests to use the new names, be careful wherever you have a test class that extends another test class and it calls
super
's setup/teardown methods. For example, if you renamesuper
'ssetup
tobefore_each
but all the test classes that inherit from it are still calling.setup
then you'll have problem on your hands.