Displaying 5 results from an estimated 5 matches for "unit_test_example_01".
2008 Dec 28
0
[LLVMdev] [Patch] Adding unit tests to LLVM
...://svn.boost.org/svn/boost/trunk/libs/test/example/unit_test_example_12.cpp
> Note the code at the end setting up the test suite -- this is
> boilerplate code that I think shouldn't be necessary to setup and
> run tests.
>
http://svn.boost.org/svn/boost/trunk/libs/test/example/unit_test_example_01.cpp
My test cases are not that in-depth, I'm much closer to sample 1. I
haven't found a reason to go that crazy yet.
> Google Test, on the other hand, has no external dependencies, and is
> distributed as a dozen of .h/.cc files; supports Makefile, SCons,
> and Xcode; and d...
2008 Dec 28
5
[LLVMdev] [Patch] Adding unit tests to LLVM
2008/12/27 Mark Kromis <greybird at mac.com>
> Just a curiosity question, why push for gtest vs Boost Test or
> a different test suite?
> I normally use Boost, and their test suite, so I'm more familiar with that.
> So I was wondering is one better then the other, or is it just that someone
> makes a patch for it?
>
I looked more into Boost.Test to see what's in
2008 Dec 28
1
[LLVMdev] [Patch] Adding unit tests to LLVM
...p://svn.boost.org/svn/boost/trunk/libs/test/example/unit_test_example_12.cpp
> Note the code at the end setting up the test suite -- this is boilerplate
> code that I think shouldn't be necessary to setup and run tests.
>
>
> http://svn.boost.org/svn/boost/trunk/libs/test/example/unit_test_example_01.cpp
> My test cases are not that in-depth, I'm much closer to sample 1. I haven't
> found a reason to go that crazy yet.
>
You would need to use fixtures if you are testing classes and their
interactions, otherwise each of your test functions will re-do everything
that's in th...
2008 Dec 28
3
[LLVMdev] [Patch] Adding unit tests to LLVM
...ost.org/svn/boost/trunk/libs/test/example/unit_test_example_12.cpp
> Note the code at the end setting up the test suite -- this is boilerplate
> code that I think shouldn't be necessary to setup and run tests.
>
>
>
>
> http://svn.boost.org/svn/boost/trunk/libs/test/example/unit_test_example_01.cpp
> My test cases are not that in-depth, I'm much closer to sample 1. I haven't
> found a reason to go that crazy yet.
>
>
> Google Test, on the other hand, has no external dependencies, and is
> distributed as a dozen of .h/.cc files; supports Makefile, SCons, and Xcode...
2008 Dec 28
4
[LLVMdev] [Patch] Adding unit tests to LLVM
.../test/example/unit_test_example_12.cpp
>>
>> Note the code at the end setting up the test suite -- this is
>> boilerplate code that I think shouldn't be necessary to setup and run
>> tests.
>>
>
>
> http://svn.boost.org/svn/boost/trunk/libs/test/example/unit_test_example_01.cpp
>
> My test cases are not that in-depth, I'm much closer to sample 1. I
> haven't found a reason to go that crazy yet.
>
>
>> Google Test, on the other hand, has no external dependencies, and is
>> distributed as a dozen of .h/.cc files; supports Makefile,...