class FunWith::Testing::TestCase
Public Class Methods
_context(*args, &block)
click to toggle source
Convenience methods for disappearing a set of tests. Useful for focusing on one or two tests.
# File lib/fun_with/testing/test_case.rb, line 17 def self._context(*args, &block) puts "<<< WARNING >>> IGNORING TEST SET #{args.inspect}. Remove leading _ from '_context()' to reactivate." end
_should(*args, &block)
click to toggle source
# File lib/fun_with/testing/test_case.rb, line 21 def self._should(*args, &block) puts "<<< WARNING >>> IGNORING TEST #{args.inspect}. Remove leading _ from '_should()' to reactivate." end
install_basic_assertions()
click to toggle source
# File lib/fun_with/testing/test_case.rb, line 12 def self.install_basic_assertions include Assertions::Basics end
install_test_mode()
click to toggle source
# File lib/fun_with/testing/test_case.rb, line 8 def self.install_test_mode include TestModeMethods end
install_verbosity()
click to toggle source
# File lib/fun_with/testing/test_case.rb, line 4 def self.install_verbosity include VerbosityMethods end