Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2360

[cpp] Improve test coverage in link.cpp

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • cpp-binding

    Description

      Assignee: Sunday Mgbogu

      Link.cpp currently has 82% line coverage after running the tests.  Increase the coverage to 100% or as close as is practical.  To do this, add or modify tests in link_test.cpp.

      To set up coverage builds:

      1. Install lcov, the code coverage tool
      2. Configure the build for coverage analysis: cmake -DCMAKE_BUILD_TYPE=Coverage [...]
      3. Build the code: make build
      4. Run the tests: make test
      5. Generate coverage results: make coverage
      6. View the results at <build>/coverage_results

      Attachments

        Issue Links

          Activity

            People

              jross Justin Ross
              jross Justin Ross
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: