x
login Signup

Can Coverage Tools and Electric accelerator be run together ?

Can coverage tools and electric accelerator be run together?

We have a product in c/c++ that we accelerate and we are intending to use bullseye coverage for it.

So, checking if that's something feasible or not.

avatar image By padma 223 asked May 18, 2015 at 03:50 PM
more ▼
(comments are locked)
10|750 characters needed characters left

2 answers: sort voted first

Yes. A successful EA use case consisted of MS Visual Studio Code Coverage and Bullseye being run to gather code coverage results. We created a Makefile that would call CodeCoverage.exe and Bullseye.exe for each test case, and ran emake on that Makefile to distribute it across a cluster. Check out http://electric-cloud.com/blog/2014/10/accelerate-test-coverage-and-all-the-things for details about this use case and a generic approach for accelerating unit tests, code coverage, and static analysis.

avatar image By tanay ♦ 3.4k answered May 19, 2015 at 03:02 PM
more ▼
(comments are locked)
avatar image padma May 19, 2015 at 08:26 PM

Thanks Tanay, Its great to hear unit tests and coverage acceleration works! checking the webinar. Just wanted to brief our scenario. We accelerate the compilation, then we run tests(google tests) without accelerating.we are planning to use bullseye for coverage. Initially I tried enabling the coverage and setting up coverage file - and compile(with acceleration) and run tests but that didnt work. When compiled without acceleration it creates the coverage file.But, We would like to run with acceleration.. I will create support ticket to get some pointers for our scenario.

avatar image padma May 20, 2015 at 08:30 AM

One Question Can coverage be accelerated just with Bullseye and not using MS Visual Studio Code Coverage ?

avatar image padma May 27, 2015 at 08:33 PM

Tanay, Can we run without using Visual studio codecoverage and with just Bullseye? As our projects are VS2008 and VS2010 and it doesnt come with Codecoverage.exe. Also I read CodeCoverage.exe comes with Visual Studio 2012 and above probably in Premium and Ultimate.

avatar image tanay ♦ May 27, 2015 at 08:49 PM

Hi @Padma, I haven't worked with just Bullseye, but theoretically it should work just the same. Since the processes can be run in parallel, it's just a matter of creating a Makefile that calls Bullseye.exe for each test case, and then running emake against that Makefile. I suggest getting in touch with your account team to explore how we can help you do this.

10|750 characters needed characters left

Bullseye and Electric Make

avatar image By michlv 30 answered May 24, 2017 at 09:39 AM
more ▼
(comments are locked)
10|750 characters needed characters left
Your answer
toggle preview:

Up to 8 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.