Hello, Actually that version of Hapao is really outdated, currently we are using S2py, a brand new release of Spy that involve mayor changes in performance and design using everything that we learnt developing Spy. Since it depends on Roassal2, you have to load it first. Gofer new smalltalkhubUser: 'ObjectProfile' project: 'Roassal2'; package: 'ConfigurationOfRoassal2'; load. (Smalltalk at: #ConfigurationOfRoassal2) load. And then we load Spy2. Gofer new smalltalkhubUser: 'ObjectProfile' project: 'S2py'; package: 'S2py'; load. Hapao is already included on Spy2, so you donât have to do anything else. To use Hapao you can do it from the WorldMenu or using a workspace like: (Hapao2 runTestsForClasses: RTObject withAllSubclasses , RTTest withAllSubclasses) visualize or (Hapao2 runTestsForPackagesMatching: 'Nautilus*') visualize I have already tried this on today fresh 4.0 image so unless I mess up on a commit tonight it should work. Let us know how was your experience! All the feedback is welcome. Cheers, Alejandro
On Dec 7, 2014, at 7:56 PM, sheridan@sheridan-mahoney.com wrote:
Hello,
I am trying to get Hapa'o loaded in a fresh 4.0 image, using the following command:
Gofer new squeaksource: 'Spy'; package: 'ConfigurationOfSpy'; load. (Smalltalk at: #ConfigurationOfSpy) perform: #loadDefault
and I run across this error:
This package depends on the following classes: RBFormatter You must resolve these dependencies before you will be able to load these definitions: HapaoLineCoverage acceptAssignmentNode: acceptBlockNode:startBlockString:endBlockString: acceptCascadeNode: acceptLiteralArrayNode: acceptLiteralNode: acceptMessageNode: acceptPragmaNode: acceptReturnNode: acceptSequenceNode: acceptVariableNode: addAllText: addCoverageAtribute:isCovered: addText: coveredCondition format: ...
This isn't something I'm familiar with, can someone tell me how to resolve it?
Many thanks,
Sheridan