[CXX-39] Obtain gcov coverage data for libmongoclient from tests ported in CXX-5 Created: 04/Feb/14  Updated: 27/Mar/14  Resolved: 27/Mar/14

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: legacy-0.8.0

Type: Task Priority: Blocker - P1
Reporter: Andrew Morrow (Inactive) Assignee: Tyler Brock
Resolution: Done Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by CXX-142 Improve test coverage for legacy driver Closed

 Description   

It would be nice to know what parts of the driver are being adequately tested by the tests that we have included.

This is going to involve extending the CMake setup to pass any gcov state down to the ExternalProject_Add for the client library, and probably doing something to capture the output files.



 Comments   
Comment by Githook User [ 27/Mar/14 ]

Author:

{u'username': u'TylerBrock', u'name': u'Tyler Brock', u'email': u'tyler.brock@gmail.com'}

Message: CXX-39 remove our own tests from coverage data
Branch: legacy
https://github.com/mongodb/mongo-cxx-driver/commit/488f3a65e73a96f8a93345edc33e047c377ff437

Comment by Githook User [ 27/Mar/14 ]

Author:

{u'username': u'TylerBrock', u'name': u'Tyler Brock', u'email': u'tyler.brock@gmail.com'}

Message: CXX-39 add coverage artifacts to .gitignore
Branch: legacy
https://github.com/mongodb/mongo-cxx-driver/commit/0e4fe5da3e0c50570e572aa9ba3fdd37e283d227

Comment by Githook User [ 27/Mar/14 ]

Author:

{u'username': u'TylerBrock', u'name': u'Tyler Brock', u'email': u'tyler.brock@gmail.com'}

Message: CXX-39 add coverage target(lcov)
Branch: legacy
https://github.com/mongodb/mongo-cxx-driver/commit/1cc4f4533277be8123f13ae221be3e350761191c

Comment by Andrew Morrow (Inactive) [ 01/Mar/14 ]

Might be interesting: https://github.com/ptomulik/scons-tool-gcccov

Generated at Wed Feb 07 21:58:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.