Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #47828

Re: Suggestions for a unit test framework

From Ian Collins <ian-news@hotmail.com>
Newsgroups comp.lang.c++
Subject Re: Suggestions for a unit test framework
Date 2017-01-05 08:37 +1300
Message-ID <ed5172FccfvU5@mid.individual.net> (permalink)
References <a0695cca-5351-4a98-8549-576f399fc2d7@googlegroups.com> <slrno6qam0.5q5.grahn+nntp@frailea.sa.invalid>

Show all headers | View raw


On 01/ 5/17 06:02 AM, Jorgen Grahn wrote:
> On Tue, 2017-01-03, Daniel wrote:
>> I'm currently using the boost unit test framework for a project that
>> doesn't otherwise depend on boost. The features that I'm using are
>> BOOST_REQUIRE, BOOST_CHECK, BOOST_REQUIRE_EXCEPTION,
>> BOOST_CHECK_EXCEPTION, and checking that there are no memory leaks.
>>
>> It's proving too difficult if not impossible to set up continuous
>> integration builds for all the environments and compilers supported
>> that link to boost, so I'm looking for a self-contained replacement
>> that can be included in the distribution. I looked at Catch
>> https://github.com/philsquared/Catch, but it tries to be too clever,
>> resulting in too many issues.
>>
>> Any suggestions?
>
> I'm always willing to plug my own: https://github.com/kjgrahn/orchis
> But it's very minimal, and you can tell I don't like the official unit
> test ideology very much.
>
> I've used Google Test too, but I'm not very impressed. I remember them
> making it hard to integrate with the build system, unless you choose
> the build system /they/ like.

That's a non-issue these days.

-- 
Ian

Back to comp.lang.c++ | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Suggestions for a unit test framework Daniel <danielaparker@gmail.com> - 2017-01-03 09:13 -0800
  Re: Suggestions for a unit test framework Cholo Lennon <chololennon@hotmail.com> - 2017-01-03 15:36 -0300
    Re: Suggestions for a unit test framework Daniel <danielaparker@gmail.com> - 2017-01-05 07:31 -0800
  Re: Suggestions for a unit test framework Wouter van Ooijen <wouter@voti.nl> - 2017-01-03 19:41 +0100
  Re: Suggestions for a unit test framework Jorgen Grahn <grahn+nntp@snipabacken.se> - 2017-01-04 17:02 +0000
    Re: Suggestions for a unit test framework Ian Collins <ian-news@hotmail.com> - 2017-01-05 08:37 +1300
    Re: Suggestions for a unit test framework Dombo <dombo@disposable.invalid> - 2017-01-04 21:34 +0100
      Re: Suggestions for a unit test framework Jorgen Grahn <grahn+nntp@snipabacken.se> - 2017-01-05 08:49 +0000
        Re: Suggestions for a unit test framework Ian Collins <ian-news@hotmail.com> - 2017-01-05 22:12 +1300
  Re: Suggestions for a unit test framework legalize+jeeves@mail.xmission.com (Richard) - 2017-01-05 20:22 +0000

csiph-web