Class CI::Reporter::TestCase
In: lib/ci/reporter/test_suite.rb
Parent: Struct.new(:name, :time, :assertions)

Structure used to represent an individual test case. Used to time the test and store the result.

Methods

error?   error_count   failure?   failure_count   finish   new   skipped?   start   to_xml  

Included Modules

StructureXmlHelpers

Attributes

failures  [RW] 
skipped  [RW] 

Public Class methods

Public Instance methods

Returns non-nil if the test had an error.

Returns non-nil if the test failed.

Finishes timing the test.

Starts timing the test.

Writes xml representing the test result to the provided builder.

[Validate]