TestDefinition objects Bundle
Code for a test (i.e., its “definition”),
the description of the test, and
the specific factory needed to build the test.
Zachary Kurmas
Copyright © 2012
the test definition itself (i.e., the block passed to it
)
the textual description of this test (i.e., the String
passed
to the it
block)
the specific TestFactory subclass used to generate the assembly code for this test
# 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