Hapao2>>addMethodEdges:scope:view MNU
Hi, I'm trying to run Hapao2 on the String class and its subclasses, and encountered an error. I downloaded the latest image (50452) for Windows, loaded Roassal2 and S2py, and tried to run the following code: (Hapao2 runTestsForClasses: String withAllSubclasses , StringTest withAllSubclasses) visualize. This worked in previous versions. This time I got an MNU error in Hapao2 >> addMethodEdges:scope:view: It looks like RTEdgeBuilder isn't loaded. Can someone tell me if I am missing a step? Many thanks, Sheridan
[ For people not aware of Hapao: Hapao is a visual test coverage tool for Pharo. More info on: http://bergel.eu/download/papers/Berg12c-HapaoSCP.pdf ] Hi Sheridan, How did you load Hapao? Roassal seems to be missing. The following should work: Gofer it smalltalkhubUser: 'ObjectProfile' project: 'Spy2'; configurationOf: 'Spy2'; loadStable. I can get the coverage of the class String. Here is the result by the way: https://dl.dropboxusercontent.com/u/31543901/TMP/StringCoverage/index.html Interesting to see that, despite all the unit test that uses String, String is not even 50% covered. I have attached the html coverage report to this email. Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Nov 18, 2015, at 9:39 PM, sheridan@sheridan-mahoney.com wrote:
Hi,
I'm trying to run Hapao2 on the String class and its subclasses, and encountered an error.
I downloaded the latest image (50452) for Windows, loaded Roassal2 and S2py, and tried to run the following code:
(Hapao2 runTestsForClasses: String withAllSubclasses , StringTest withAllSubclasses) visualize.
This worked in previous versions. This time I got an MNU error in
Hapao2 >> addMethodEdges:scope:view:
It looks like RTEdgeBuilder isn't loaded.
Can someone tell me if I am missing a step?
Many thanks,
Sheridan
Alex why do you know propose a configuration for Hapao that *AUTOMATICALLY* loads Spy2. Seriously I do not get it that you do not get that one click action is the only way to master complexity. Then you can publish the configuration into the metarepo and people can load it in one click. Stef Le 19/11/15 13:45, Alexandre Bergel a écrit :
[ For people not aware of Hapao: Hapao is a visual test coverage tool for Pharo. More info on: http://bergel.eu/download/papers/Berg12c-HapaoSCP.pdf ]
Hi Sheridan,
How did you load Hapao? Roassal seems to be missing. The following should work:
Gofer it smalltalkhubUser: 'ObjectProfile' project: 'Spy2'; configurationOf: 'Spy2'; loadStable.
I can get the coverage of the class String. Here is the result by the way: https://dl.dropboxusercontent.com/u/31543901/TMP/StringCoverage/index.html
Interesting to see that, despite all the unit test that uses String, String is not even 50% covered. I have attached the html coverage report to this email.
Cheers, Alexandre
participants (3)
-
Alexandre Bergel -
sheridan@sheridan-mahoney.com -
stepharo