Tagged Questions

0
votes
1answer
17 views

Coverage reports for lib folder in CakePHP using Jenkins?

I am experimenting with using Jenkins with CakePHP as part of my push towards better CI. I am using the following command for a build job step. ...
3
votes
0answers
27 views

Fail a build if code coverage is below a threshold in TFS2012

I'm trying to fail builds in TFS Service (Hosted TFS2012) when Code Coverage is below a threshold. I've been messing around with the solution at ...
0
votes
1answer
92 views

How can I exclude namespaces in code coverage with Team City?

I am using Team City 7.1.1 (build 24074), and I would like to exclude some namespaces in code coverage. I am using dotcover as code coverage tool. I am using MSPec, Machine.Fakes and Rhino Mocks in ...
4
votes
2answers
351 views

PHPSpec and coverage report

does anyone knows the method to generate coverage reports from PHPSpec tests? I thought about xdebug, but as far as I know, it cant generate reports for jenkins...
0
votes
1answer
173 views

Display NCover coverage report inside TeamCity

I am running NCover 3, with TeamCity 7. TeamCity is kicking off the cover process and I can find the fullcoveragereport.html in my file directory for the build, however TeamCity is not creating a tab ...
-1
votes
1answer
96 views

Output rails coverage to console with rake

My main idea is to have some code coverage reports after running test on Travis-CI. At the moment I'm running tests with rake travis task :travis do ["rspec spec", "rake cucumber"].each do |cmd| ...
0
votes
1answer
118 views

Getting Statistics to show up in TC

I've setup teamcity with my sln file and got the unit tests to show up with the CppUnit plugin that teamcity has. And I get test results in the TeamCity UI. Now I'm trying to get trending reports to ...
1
vote
1answer
248 views

Jenkins Cobertura plugin “Source code is unavailable”

I'm using Jenkins ver. 1.466 with Jenkins Cobertura Plugin ver. 1.5. I generated coverage report for Django project. All charts looks good, but when I want to see source code I have warning message: ...
8
votes
1answer
513 views

How to adjust Jenkins weather report for clover coverage on PHP projects

I have a few PHP projects installed for a new team in Jenkins, and I'm trying to lower the expectations initially to help ramp them up on testing and everything. Initially we're shooting for 20% code ...
2
votes
3answers
391 views

Unit Test Coverage; Graphical Display

I have been tasked with introducing automated unit test coverage reporting to our CI build environment (we use Hudson and MSBuild). I have used dotCover to produce the coverage data across several ...
0
votes
1answer
70 views

How to sort assembly names in the code coverage results?

Is it possible somehow to sort assembly names by name or by % of covered blocks in the code coverage results on the build's Summary view? It is hard to find specific assembly without sorting when ...
1
vote
1answer
229 views

Can I get the code coverage percentage from OpenCover

I am using OpenCover (and ReportGenerator) to examine my code coverage as part of my CI build process. Is it somehow possible to have OpenCover fail my build if the coverage doesn't meet a given ...
2
votes
3answers
1k views

How to enable code coverage without using Visual Studio?

I have 80+ VS2010 solutions, each contains some unit test projects. All solutions are merged into one big solution before build process. All tests (or some test subset) are executed after the ...
4
votes
2answers
284 views

Automatic job (phpunit with code coverage) when jenkins is idle?

My jenkins install is working properly just that the phpunit+coverage on my code takes 5 minutes finish - because of too many files. For me, it's too much wait for just knowing if my last commit ...
5
votes
3answers
6k views

SONAR - Measure Code Coverage using Cobertura

I am using sonar to measure code quality. One thing that I do not know is the steps to measure code coverage using Cobertura. I followed the steps from ...
1
vote
2answers
574 views

Hudson Emma Plug-in

Emma's Hudson plug-in is not generating the coverage.xml file! Where is it? I'm leaving the 'Folders or files containing Emma XML reports' blank so emma searches for the file, but the file is not ...
2
votes
4answers
195 views

NET Coverage tools require admin rights?

I'm trying to find a coverage tool i can use in a very restrictive dev environment, where nobody has admin rights. Which NET coverage tools require admin rights to run? What coverage tools do not ...
1
vote
1answer
393 views

Dotcover and StatLight

I'm trying to ultimately run a dotcover coverage report on my silverlight app from TeamCity. However, I'm having trouble getting this working using the Console Runner. Has anyone managed to get ...
10
votes
1answer
3k views

jasmine with jscoverage automated testing

Had been looking at the jsunit and jcoverage demos here (click on coverage report link. Open this in a new tab). I was wondering if any one had done anything similar with Jasmine and JSCoverage ? I'm ...
3
votes
4answers
116 views

Determine which Unit Tests to Run Based on Diffs

Does anyone know of a tool that can help determine which unit tests should be run based on the diffs from a commit? For example, assume a developer commits something that only changes one line of ...
6
votes
5answers
837 views

“No source for code” message in Coverage.py

I ran a build last night, successfully. I got up this morning and ran another without changing any configuration or modifying any source code. Now my build is failing with the message "No source for ...
6
votes
5answers
2k views

Hudson “Source code is unavailable.”

I'm using Hudson to continuously build a Python project. Unit tests and code coverage work great, but this message appears when drilling into the Cobertura Coverage Report for my files that are not ...
1
vote
1answer
342 views

Hudson doesn't recognize that I executed any tests after build - any ideas why?

I'm using Hudson to build a Java project w/ Maven. The project includes two different sets of unit tests: (1) a plain-old Surefire plugin execution that includes unit & database integration tests, ...
3
votes
1answer
617 views

Hudson build failed using Python & Coverage

I completed this tutorial from Joe Heck to set up Hudson for Python. Everything worked perfectly except the Coverage section. My build failed with this output: [workspace] $ /bin/sh -xe ...
23
votes
5answers
4k views

Code Coverage Tools for Scala

What are the available code coverage tools for Scala? I have Scala spec tests and a Hudson continuous integration set-up. Is there something I can hook-in to this setup to measure and track code ...
4
votes
4answers
713 views

Can my build stipulate that my code coverage never get worse?

I am using hudson CI to manage a straight java web project, using ant to build. I would like to mandate that the unit test coverage never be worse than the previous build, thereby making sure any new ...