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:
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.
Cheers,
Ricardo, Alejandro & Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.