Class Turn::TestCase
In: lib/turn/components/case.rb
Parent: Object

Methods

count_errors   count_failures   count_passes   count_tests   counts   each   error?   fail?   message   new   new_test   pass?   size  

Included Modules

Enumerable

Attributes

count_assertions  [RW]  This can‘t be calculated, so it must be assigned by the runner.
files  [RW]  Some runners marshal tests per file.
message  [RW]  Holds dump of test output (optional depending on runner).
name  [RW]  Name of test case.
tests  [RW]  Test methods.

Public Class methods

Public Instance methods

Were there any errors?

Were there any failures?

Did all tests/assertion pass?

size()

Alias for count_tests

[Validate]