
| View previous topic :: View next topic |
| Author |
Message |
Pet Posted via mailing list.
|
Posted: Tue Mar 31, 2009 4:48 pm Post subject: Code Coverage does not display |
|
|
Hi,
I can't get code coverage feature to work. In Python module it works
fine, but not in PHP.
I've already reported this issue as suggested in IDE log. Does Code
Coverage works for anyone?
http://www.netbeans.org/issues/show_bug.cgi?id=161610
P.S. UnitTests itself are executed and displayed correctly. |
|
| Back to top |
|
 |
Yannick Mortier Posted via mailing list.
|
Posted: Wed Apr 01, 2009 3:25 pm Post subject: Code Coverage does not display |
|
|
2009/3/31 Pet <address-removed>:
| Quote: | Hi,
I can't get code coverage feature to work. In Python module it works
fine, but not in PHP.
I've already reported this issue as suggested in IDE log. Does Code
Coverage works for anyone?
http://www.netbeans.org/issues/show_bug.cgi?id=161610
P.S. UnitTests itself are executed and displayed correctly.
|
I can confirm this issue. It happens on the nightly builds until March
25th, too. It worked a few times in the beginning but doesn't anymore
though I didn't change anything in the settings. If I call phpunit on
the command line and generate a report it doesn't report any errors so
I think it should work for NetBeans, too.
--
Currently developing a browsergame...
http://www.p-game.de
Trade - Expand - Fight
Follow me on twitter!
http://twitter.com/moortier |
|
| Back to top |
|
 |
Tomas Mysik Posted via mailing list.
|
Posted: Wed Apr 01, 2009 3:57 pm Post subject: Code Coverage does not display |
|
|
Hi,
On středa 01 dubna 2009 16:58:38 Yannick Mortier wrote:
| Quote: | I can confirm this issue. It happens on the nightly builds until March
25th, too. It worked a few times in the beginning but doesn't anymore
though I didn't change anything in the settings. If I call phpunit on
the command line and generate a report it doesn't report any errors so
I think it should work for NetBeans, too.
|
please notice that issue http://www.netbeans.org/issues/show_bug.cgi?id=161610
is INVALID so if you have any problem please report it [1] with exact steps to
reproduce.
Thanks,
Tomas
[1] http://www.netbeans.org/community/issues
--
Tomas Mysik
address-removed |
|
| Back to top |
|
 |
Pet Posted via mailing list.
|
Posted: Wed Apr 01, 2009 4:01 pm Post subject: Code Coverage does not display |
|
|
On Wed, Apr 1, 2009 at 4:58 PM, Yannick Mortier
<address-removed> wrote:
| Quote: | 2009/3/31 Pet <address-removed>:
| Quote: | Hi,
I can't get code coverage feature to work. In Python module it works
fine, but not in PHP.
I've already reported this issue as suggested in IDE log. Does Code
Coverage works for anyone?
http://www.netbeans.org/issues/show_bug.cgi?id=161610
P.S. UnitTests itself are executed and displayed correctly.
|
I can confirm this issue. It happens on the nightly builds until March
25th, too. It worked a few times in the beginning but doesn't anymore
though I didn't change anything in the settings. If I call phpunit on
the command line and generate a report it doesn't report any errors so
I think it should work for NetBeans, too.
|
I've solved problem for me. See:
http://www.netbeans.org/issues/show_bug.cgi?id=161610
It was xdebug in another php.ini.
What do you see in output window, if you run tests with code coverage?
Press Ctrl+4 to see Output window
|
|
| Back to top |
|
 |
Yannick Mortier Posted via mailing list.
|
Posted: Wed Apr 01, 2009 6:06 pm Post subject: Code Coverage does not display |
|
|
2009/4/1 Pet <address-removed>:
| Quote: | On Wed, Apr 1, 2009 at 4:58 PM, Yannick Mortier
<address-removed> wrote:
| Quote: | 2009/3/31 Pet <address-removed>:
| Quote: | Hi,
I can't get code coverage feature to work. In Python module it works
fine, but not in PHP.
I've already reported this issue as suggested in IDE log. Does Code
Coverage works for anyone?
http://www.netbeans.org/issues/show_bug.cgi?id=161610
P.S. UnitTests itself are executed and displayed correctly.
|
I can confirm this issue. It happens on the nightly builds until March
25th, too. It worked a few times in the beginning but doesn't anymore
though I didn't change anything in the settings. If I call phpunit on
the command line and generate a report it doesn't report any errors so
I think it should work for NetBeans, too.
|
I've solved problem for me. See:
http://www.netbeans.org/issues/show_bug.cgi?id=161610
It was xdebug in another php.ini.
What do you see in output window, if you run tests with code coverage?
Press Ctrl+4 to see Output window
|
That is what I get:
PHPUnit 3.3.15 by Sebastian Bergmann.
.......................
Time: 2 seconds
OK (23 tests, 45 assertions)
I have xDebug correctly installed. As I said, if I call phpunit with
the --coverage-html option it generates a perfect report.
I'm on 64 bit Linux Debian Lenny 5.0 and I have got the latest phpunit
from PEAR.
I know it worked for me once but all of a sudden it didn't display the
data anymore. Anyone got a tip?
--
Currently developing a browsergame...
http://www.p-game.de
Trade - Expand - Fight
Follow me on twitter!
http://twitter.com/moortier |
|
| Back to top |
|
 |
Pet Posted via mailing list.
|
Posted: Wed Apr 01, 2009 6:50 pm Post subject: Code Coverage does not display |
|
|
On Wed, Apr 1, 2009 at 7:40 PM, Yannick Mortier
<address-removed> wrote:
| Quote: | 2009/4/1 Pet <address-removed>:
| Quote: | On Wed, Apr 1, 2009 at 4:58 PM, Yannick Mortier
<address-removed> wrote:
| Quote: | 2009/3/31 Pet <address-removed>:
| Quote: | Hi,
I can't get code coverage feature to work. In Python module it works
fine, but not in PHP.
I've already reported this issue as suggested in IDE log. Does Code
Coverage works for anyone?
http://www.netbeans.org/issues/show_bug.cgi?id=161610
P.S. UnitTests itself are executed and displayed correctly.
|
I can confirm this issue. It happens on the nightly builds until March
25th, too. It worked a few times in the beginning but doesn't anymore
though I didn't change anything in the settings. If I call phpunit on
the command line and generate a report it doesn't report any errors so
I think it should work for NetBeans, too.
|
I've solved problem for me. See:
http://www.netbeans.org/issues/show_bug.cgi?id=161610
It was xdebug in another php.ini.
What do you see in output window, if you run tests with code coverage?
Press Ctrl+4 to see Output window
|
That is what I get:
PHPUnit 3.3.15 by Sebastian Bergmann.
.......................
Time: 2 seconds
OK (23 tests, 45 assertions)
I have xDebug correctly installed. As I said, if I call phpunit with
the --coverage-html option it generates a perfect report.
I'm on 64 bit Linux Debian Lenny 5.0 and I have got the latest phpunit
from PEAR.
I know it worked for me once but all of a sudden it didn't display the
data anymore. Anyone got a tip?
|
Check permissions for nbproject folder, make it chmod -R 777 to be
sure, NB may write into it
|
|
| Back to top |
|
 |
Yannick Mortier Posted via mailing list.
|
Posted: Wed Apr 01, 2009 7:21 pm Post subject: Code Coverage does not display |
|
|
2009/4/1 Pet <address-removed>:
| Quote: | On Wed, Apr 1, 2009 at 7:40 PM, Yannick Mortier
<address-removed> wrote:
| Quote: | 2009/4/1 Pet <address-removed>:
| Quote: | On Wed, Apr 1, 2009 at 4:58 PM, Yannick Mortier
<address-removed> wrote:
| Quote: | 2009/3/31 Pet <address-removed>:
| Quote: | Hi,
I can't get code coverage feature to work. In Python module it works
fine, but not in PHP.
I've already reported this issue as suggested in IDE log. Does Code
Coverage works for anyone?
http://www.netbeans.org/issues/show_bug.cgi?id=161610
P.S. UnitTests itself are executed and displayed correctly.
|
I can confirm this issue. It happens on the nightly builds until March
25th, too. It worked a few times in the beginning but doesn't anymore
though I didn't change anything in the settings. If I call phpunit on
the command line and generate a report it doesn't report any errors so
I think it should work for NetBeans, too.
|
I've solved problem for me. See:
http://www.netbeans.org/issues/show_bug.cgi?id=161610
It was xdebug in another php.ini.
What do you see in output window, if you run tests with code coverage?
Press Ctrl+4 to see Output window
|
That is what I get:
PHPUnit 3.3.15 by Sebastian Bergmann.
.......................
Time: 2 seconds
OK (23 tests, 45 assertions)
I have xDebug correctly installed. As I said, if I call phpunit with
the --coverage-html option it generates a perfect report.
I'm on 64 bit Linux Debian Lenny 5.0 and I have got the latest phpunit
from PEAR.
I know it worked for me once but all of a sudden it didn't display the
data anymore. Anyone got a tip?
|
Check permissions for nbproject folder, make it chmod -R 777 to be
sure, NB may write into it
|
I did that and still it doesn't display any coverage data. I'm on the
latest dev build 200903311400.
I guess I'll have to delete all settings. Something must have trashed
it up. Maybe if I set it up from scratch it'll work just fine. I'll
try that later.
--
Currently developing a browsergame...
http://www.p-game.de
Trade - Expand - Fight
Follow me on twitter!
http://twitter.com/moortier |
|
| Back to top |
|
 |
Tomas Mysik Posted via mailing list.
|
Posted: Thu Apr 02, 2009 12:13 pm Post subject: Code Coverage does not display |
|
|
Hi,
On st |
|
| Back to top |
|
 |
Tomas Mysik Posted via mailing list.
|
Posted: Thu Apr 02, 2009 12:15 pm Post subject: Code Coverage does not display |
|
|
Hi,
On středa 01 dubna 2009 20:54:17 Yannick Mortier wrote:
| Quote: | I did that and still it doesn't display any coverage data. I'm on the
latest dev build 200903311400.
I guess I'll have to delete all settings. Something must have trashed
it up. Maybe if I set it up from scratch it'll work just fine. I'll
try that later.
|
it would be great if you could file an issue [1] with steps to reproduce, that
would help a lot.
Thanks,
Tomas
[1] http://www.netbeans.org/community/issues
--
Tomas Mysik
address-removed |
|
| Back to top |
|
 |
Yannick Mortier Posted via mailing list.
|
Posted: Thu Apr 02, 2009 2:36 pm Post subject: Code Coverage does not display |
|
|
2009/4/2 Tomas Mysik <address-removed>:
| Quote: | Hi,
On středa 01 dubna 2009 20:54:17 Yannick Mortier wrote:
| Quote: | I did that and still it doesn't display any coverage data. I'm on the
latest dev build 200903311400.
I guess I'll have to delete all settings. Something must have trashed
it up. Maybe if I set it up from scratch it'll work just fine. I'll
try that later.
|
it would be great if you could file an issue [1] with steps to reproduce, that
would help a lot.
Thanks,
Tomas
[1] http://www.netbeans.org/community/issues
--
Tomas Mysik
address-removed
|
I'll try to reproduce it later. Is there a way to make NetBeans write
a detailed logfile? Where it prints things like
"Could not write file because of write protection" or something else
so I get more detailed information?
I guess I'll try to save my current settings in another place and do a
fresh install and I'll see if it works.
--
Currently developing a browsergame...
http://www.p-game.de
Trade - Expand - Fight
Follow me on twitter!
http://twitter.com/moortier |
|
| Back to top |
|
 |
Tomas Mysik Posted via mailing list.
|
Posted: Thu Apr 02, 2009 3:13 pm Post subject: Code Coverage does not display |
|
|
Hi,
On čtvrtek 02 dubna 2009 16:12:49 Yannick Mortier wrote:
| Quote: | I'll try to reproduce it later. Is there a way to make NetBeans write
a detailed logfile? Where it prints things like
"Could not write file because of write protection" or something else
so I get more detailed information?
|
start NetBeans from command line and watch the output or have a look at the
IDE log (can be found in <userdir>/var/log/messages or directly in NetBeans,
menu View > IDE Log).
HTH,
Tomas
--
Tomas Mysik
address-removed |
|
| Back to top |
|
 |
Pet Posted via mailing list.
|
Posted: Thu Apr 02, 2009 3:58 pm Post subject: Code Coverage does not display |
|
|
2009/4/2 Tomas Mysik <address-removed>:
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|
|
|