class MIPSUnit::MSpec::TestDefinition

TestDefinition objects Bundle

Author

Zachary Kurmas

Copyright

Copyright © 2012

Attributes

block[R]

the test definition itself (i.e., the block passed to it)

description[R]

the textual description of this test (i.e., the String passed to the it block)

factory_class[R]

the specific TestFactory subclass used to generate the assembly code for this test

Public Class Methods

new(test_factory_class, description, block) click to toggle source
# File lib/mipsunit/mspec/test_definition.rb, line 23
def initialize(test_factory_class, description, block)
  @factory_class, @description, @block = test_factory_class, description, block
end