Gakaza/googletest

Easier value-parameterized test API

Opened this issue · 0 comments

The current API requires constructing a class for my value parameterized test 
and then instantiating it with another macro. I would like to see a shortcut. 
For example:

TEST_PI(MyTestCase, MyTest, int, Values(1, 2, 3, 4))
{
    int param = GetParam();
    // ...
}

Original issue reported on code.google.com by alex.s...@gmail.com on 22 May 2014 at 7:10