Why do I need this? I'm running the tests on symfony project (and using Zend fw) and phpunit generates clover for all affected files. But I don't want see coverage for symfony and Zend libs (and all another third party ones). I wish see coverage for my code only.
Or may be this should do clover viewer? I'm using the clover plugin for hud...
I have my PHPUnit setup and coverage report working fine without a white list filter. Once I add one however, the report seems to only partially generate as if PHPUnit quit unexpectedly. I do not get any errors or warnings.
My configuratoon looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="./bootstrap.php"
...
I'm using JsTestDriver for JS unit testing and code coverage (JsTestDriverCodeCoverage) tasks.
I've recently started using Atlassian Bamboo for continuous integration, and discovered that it can't handle the LCOV format, which JsTestDriver is generating. Is there a workaround for this problem? Conversion of sorts?
...
I am using Visual Studio 2008 Code Coverage and I have many classes that are 100% covered by my unit tests. How could I check during my build process that these classes remain 100% covered by my unit tests (also executed during my build process after compilation) ?
...
Is there any chance I'll run into trouble checking coverage with release code in .Net?
(I.E. Methods inlining or similar compiler magic?)
...
We are looking for a creative way to measure code coverage on new code separate from existing code. We have a large legacy project and want to start getting 90+% coverage on any new functionality. We would like a way to easily view a report that filters out any older code to make sure the new functionality is meeting our goal. Obvio...
I am trying to gather some good code coverage stats for my C# application, but I would like to ignore the generated SubSonic classes as there is no real point in gathering code coverage statistics for these functions.
I have edited the ActiveRecord.tt file to include the [ExcludeFromCodeCoverage] attribute on every method and property, ...
Are there tools out there to measure code coverage of regexes? A tool that given a regex and a list of input strings, tells you which parts of the regex are exercised, with measures analogous to statement coverage, branch coverage, condition coverage, etc.
I don't care much what language or environment it runs in.
(Update: after some m...
Hey guys,
We just switched over to VS2010, and I remember a while back I had setup code coverage for a project I was working on in 2010, and there being a little bit of setup involved. I can't seem to remember the steps in wiring up code coverage with my unit test results. Anyone know the steps?
...
Can anyone please suggest me a good .net code coverage plugin for Visual Studio 2010 except dotCover? [dotCover 1.0 RC is buggy, it hangs VS 2010]
The VS2010's own coverage tool does not support nUnit tests. I want a plugin which supports nUnit tests also.
...
Does anyone out there run the profiler on thier ASP.NET web page when running locally. I guess it is like a poor mans load tester.
The tier interactions seems to be the only real usesful part since that show all the queries made and that is normally the bottleneck in a ASP.NET app... There are alot of other options though... Anyone out ...
C# console app with a reference to c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\DataCollectors\x86\Microsoft.VisualStudio.Coverage.Monitor.dll:
using Microsoft.VisualStudio.CodeCoverage;
namespace ConsoleApplication2
{
class Program
{
static void Main(string[] args)
{
...
I want to have a list of not-tested methods/classes but not sure how to get it. Please help.
[Edit]
I'm using test framework Moq.
...
What tools are out there that can perform code coverage analysis at the machine code level rather than the source code level? I'm looking for a possible solution to perform fuzz testing on software that I do not have source code access.
...
I'm seeing a pattern throughout my code where the lambda expression is showing as not covered in code coverage, the debugger DOES step through the code and there are no conditional blocks.
public CollectionModel()
{
List<Language> languages = LanguageService.GetLanguages();
this.LanguageListItems =
languages.Select(
...
Hi, All
I am recently using gcov to collect the code coverage info. gcov plays well with executable application :) , but when I try to load a .so file, I got this error: unknown symbol __gcov_merge_add.
Then I search on Google and someone said adding -lgcov to the link flag(LDFLAGS), I did add this option and it didn't work. I also try ...
Is it possible to produce gcov data files (.gcda files) by running an executable linked to a shared library built with the --coverage option?
Basically, I have the main library consisting of multiple c++ files compiled into one shared library and then a subdirectory called "test" containing a test program that links to and tests the mai...
Dear Sirs,
I'm using EclEmma for coverage analysis.
My Java code includes a synchronized(MyClass.class) {} block.
EclEmma says it is only partially covered, event though I've got a unit test in which one thread gets access and another thread is blocked.
Is it possible to get full coverage of synchronized using EclEmma?
Can I annotat...
I have a python script which generates some reports based on a DB.
I am testing the script using java Db Units which call the python script.
My question is how can I verify the code coverage for the python script while I am running the DB Units?
...
Hi,
I am debugging a C code with Visual Studio. There is a loop called 10000 times and in one of the interactions, at the end of the loop, there is an error, as the program tries to access the N+1 value of an array of length N. I want to go back and debug the origin of the error and I wonder if somehow Visual Studio, in debugging mode, ...