2014-09-25 1:24 GMT+02:00 Maximiliano Taborda <mtaborda@gmail.com>:
Hi Alexandre,

I want to try Hapao2 to check the coverage level of Chalten, but it's not working (at least for me).
I load Roassal2 and S2py in a fresh 3.0 image like you say and the new entries appear in the world menu, but the only option that partially works is the one for a particular class (Hapao @ Class ...) and after run all the tests (I see the progress showing that) a MNU is raised in the method #addMethodEdges:scope:view: of Hapa2 class because RTEdgeBuilder is not loaded.

So, could you tell me what I missed please? I need to load another thing, which?, at least the package which defines RTEdgeBuilder.


Same here.
We load manually the Roassal packages and this error disapear. (ConfigurationOfRoassal2 load, is that correct ?)
There is also, S2pyDebugger missing dependencies.

After this problem we encounter a new error: Hapao2Method didlError, TestResult>> ifEmpty: DNU.

On latest Pharo 3.0 image.

Thanks for helping :)
 
Thanks for your help.

Regards.
Maxi

2014-09-16 20:10 GMT-03:00 Alexandre Bergel <alexandre.bergel@me.com>:
Excellent!

Alexandre

Le 16-09-2014 à 16:15, Tudor Girba <tudor@tudorgirba.com> a écrit :

Great!

I will go over it more thoroughly in the following weeks and get back to you with feedback.

Cheers,
Doru



On Tue, Sep 16, 2014 at 6:03 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
Dear all,

We are happy to release Hapao2 for Pharo. Ricard Jacas and Alejandro Infante put quite some work on Spy2 (an über cool profiling framework for Pharo) and Hapao2.
Hapao2 is about assessing the test coverage of your code and is a major revamp of Hapao1, which was presented a couple of years ago by Vanessa.
Hapao2 does not only list covered and uncovered methods, as most test coverage tool on Earth will do. Hapao gives a great visualization to easily navigate in your code, assess its complexity, and give you a great visual output telling its coverage.

You need Roassal in your image:

Gofer new smalltalkhubUser: 'ObjectProfile'
    project: 'Roassal2';
    package: 'ConfigurationOfRoassal2';
    load.
(Smalltalk at: #ConfigurationOfRoassal2) load


and you need S2py:
MCHttpRepository
location: 'http://smalltalkhub.com/mc/ObjectProfile/S2py/main'
user: ''
password: ''


New entries will appear in the world menu:
<Screen Shot 2014-09-16 at 11.49.06 AM.png>

You can run the test coverage on :
 - the class classes you have modified,
 - on a particular
 - on a particular class category
 - on the last class categories you have modified
 - on the last packages you have modified

Here is a portion of a large coverage:

<Screen Shot 2014-09-16 at 12.00.11 PM.png>

A technical description of Hapao may be found on http://bergel.eu/download/papers/Berg12c-HapaoSCP.pdf

We are daily using Hapao to help us understand our tests. 

Cheers,
Ricardo, Alejandro & Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

"Every thing has its own flow"




--
Best regards,

Douaille Erwan <douaille.erwan@gmail.com>