phpunit.el icon indicating copy to clipboard operation
phpunit.el copied to clipboard

Support for coverage with phpunit

Open zzantares opened this issue 8 years ago • 5 comments

Hi, I have a while using this plugin, it's ver nice!

However I'm just wondering if this package has support for generating the coverage with phpunit? or do you know another package that could do this? what I would like is to see directly in the buffer which lines are covered and which aren't.

Thanks.

PS: By the wat I just noticed phpunit-current-test is not working for me (but it was working before :confused:) it says No tests executed!, I guess is something to do with and update of phpunit? should I open other issue?

zzantares avatar Aug 28 '16 01:08 zzantares

Why not. What about phpunit-current-class or phpunit-current-project functions in your PHP file ?

nlamirault avatar Aug 29 '16 08:08 nlamirault

Thanks @nlamirault I've opened #32 to address the "not working" issue.

And in this one... do you know about a tool to see coverage directly in emacs?

zzantares avatar Aug 30 '16 16:08 zzantares

No.

nlamirault avatar Aug 30 '16 16:08 nlamirault

@ZzAntares What have you imagine is similar to emacs-git-gutter? (Of course, it is not targeted at coverage.)

zonuexe avatar Sep 01 '16 16:09 zonuexe

Yeah @zonuexe, something like that, as phpstorm:

phpstorm

Or vim-coverage which supports "providers" to run test in different languages:

That last one is from vim-istanbul (specifically for js) but it looks the same as vim-coverage.

I'm relatively new to emacs so I don't know all the hottest packages out there.

Thanks!

zzantares avatar Sep 02 '16 01:09 zzantares