module RubyUnit::Assertions
Assertions
that can be used by RubyUnit::TestCase
Public Class Methods
add_assertion()
click to toggle source
Increment the number of test assertions
# File lib/RubyUnit/Assertions.rb, line 28 def self.add_assertion @@assertions += 1 end
assertions()
click to toggle source
Get the current number of test assertions
# File lib/RubyUnit/Assertions.rb, line 21 def self.assertions @@assertions end