Module: Test::PHPUnit
- Defined in:
- lib/test/phpunit.rb
Defined Under Namespace
Classes: TestSuite
Instance Method Summary collapse
Instance Method Details
#phpunit(file, opts = {}) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/test/phpunit.rb', line 7 def phpunit(file, opts={}) (class << self; self end).instance_eval do define_method :suite do Test::PHPUnit::TestSuite.new file, opts end end end |