Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there tools for branch-level test coverage tracking for Pharo/Squeak?

I am looking for something that could visualize code coverage on the branch/statement level.

My understanding is that the test coverage tool provide by the test runner in Pharo and Squeak only tell me which methods haven't been called.

I also had a look at Hapao. First I found that the linked image was rather old, but even after loading the latest version into a fresh image, I still had the feeling that it provides me with a lot information that is not immediately helpful to answer my questions.

From the C world, I am used to things like gcov and lcov, where I can see immediately which branches haven't been covered.

Is there something similar available in the Pharo or Squeak universe? Reading a recent thread on the Pharo mailing list gives me the impression: 'not yet'?

like image 739
smarr Avatar asked Oct 08 '22 19:10

smarr


1 Answers

I know there is branch level code coverage in VisualWorks extensions (found in Cincom public store)

  • SUnitToo(verage) http://www.cincomsmalltalk.com/publicRepository/SUnitToo(verage).html
  • SUnitToo(lsoverage) similar address (I'm SO noob, and can't post more than 2 links)
  • See this blog too http://www.cincomsmalltalk.com/userblogs/mls/blogView?entry=3346628542

I don't know the license, nor if it would be easily portable though...

like image 189
aka.nice Avatar answered Oct 11 '22 02:10

aka.nice