Skip to content

src: add c++ test coverage #1193

@bnoordhuis

Description

@bnoordhuis

Meta-issue for something that was discussed in today's TC meeting: test coverage for C++ code that is only tested indirectly now.

Strawman proposal: bundle gtest, make it part of make test and start churning out src/*_unittest.cc tests like chromium has.

Problem: most of the code in src/ is not very modular right now. Turning it into something that is easily testable will no doubt create a lot of churn. Probably unavoidable but it's acceptable to me.

/cc @indutny @piscisaureus @trevnorris - if we can get some consensus on this, I volunteer to do the initial work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c++Issues and PRs that require attention from people who are familiar with C++.testIssues and PRs related to the tests.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions