25
Google Test - missing feature
Test-Driven Development. Red-Green-Refactor.
Let's start. You are working on an awesome project in C++ and for TDD you are using the Google testing framework.
Let's start. You are working on an awesome project in C++ and for TDD you are using the Google testing framework.
A typical scenario when using TDD:
After that, we run all the tests and we notice that we have 17 falling tests.
What about re-running only failing tests?
What about re-running the first and last failing tests?
What about re-running only failing tests?
What about re-running the first and last failing tests?
This is something that kept popping up to me.
Google Test does not support anything like this, so I decided to write my solution. Github link
Google Test does not support anything like this, so I decided to write my solution. Github link
Wrapper around Google tests
It allows you to re-run failed tests as well as to filter those failed tests by using numeric tags
./gtester.py --exe exe_name
./gtester.py
./gtester.py --run_failing
./gtester.py --run_failing 1 3

25