[Pharo-dev] [ANN] Test Coverage with Hapao

Alexandre Bergel alexandre.bergel at me.com
Tue Sep 16 12:03:14 EDT 2014

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';
(Smalltalk at: #ConfigurationOfRoassal2) load

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

New entries will appear in the world menu:

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:

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. 

Ricardo, Alejandro & Alexandre
Alexandre Bergel  http://www.bergel.eu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20140916/396388cc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2014-09-16 at 11.49.06 AM.png
Type: image/png
Size: 45703 bytes
Desc: not available
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20140916/396388cc/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2014-09-16 at 12.00.11 PM.png
Type: image/png
Size: 54365 bytes
Desc: not available
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20140916/396388cc/attachment-0003.png>

More information about the Pharo-dev mailing list