Questions tagged [unit-tests]

Use the unit-tests tag for questions concerning tools that help test "units" of source code, e.g., classes or files.

Filter by
Sorted by
Tagged with
10
votes
2answers
2k views

C++ unit testing framework [closed]

I would like to hear what is a recommended C++ unit testing framework or, in case there is not a single one, what is a generally accepted flowchart that can lead me while picking one.
21
votes
4answers
7k views

Tool for code coverage of (unit tests in) C#

I am in the process of writing unit tests for someone else's code. Right now, I am just sort of looking through all the classes of the main code branch to see if I have written tests to cover all ...
3
votes
1answer
127 views

What mocking framework do you suggest for C++ on a linux platform?

The company I work for recently added Linux to our work environment and we need a good unit testing framework for c++. We tried Gmock from google but it's not so user-friendly. I have done a little ...
2
votes
2answers
114 views

Mocking frameworks for C/C++ on Linux

My team and I are looking for a mocking framework for C and C++ on Linux. We have a huge codebase that we want to test, so the most important thing for us is having a mocking framework that will allow ...