Displaying 1 result from an estimated 1 matches for "3rdpartyinstrument".
2008 Jun 11
3
help with test design
...s).
Using BDD techniques I have created a pretty simple interface to the
adapter class. So far the adapter class has two main public methods
(plus a bunch of accessors to allow the dependency injection).
#discover_instruments
- this method calls into the 3rd party library and pulls out the
3rdPartyInstrument object and stores it off for further manipulation
#save_components
- this method permanently saves the 3rdPartyInstrument if it is a
FUTURE, or if it is a COMBINATION it iterates through each
sub-3rdPartyInstrument and saves it off
Using mocks and ruby''s brain-dead simple support for...