473,320 Members | 1,724 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

[ANNOUNCE] testpp unit test framework

Hi,
This message is for:
* people who like trying out c++ unit test frameworks
* people who are unsatisfied with existing c++ unit test frameworks

I fall into the 2nd group so I decided to take a shot at writing my
own, testpp. All due respect to any of you involved in writing
existing frameworks, but I've not found one I like yet.
An intro (and code) for testpp is here:
* http://github.com/mdg/testpp/tree/master/README.txt

Here are a few items I'm already planning to do:
* http://github.com/mdg/testpp/tree/master/BACKLOG.txt

I'm currently using it to test a private project and this public one:
* http://github.com/mdg/shessiond
It works pretty well for what I need, so I'm ready to submit it for
review and find what things that might be lacking.

Thanks for any feedback.

// matt
Nov 11 '08 #1
2 1537
Matt Graham wrote:
Hi,
This message is for:
* people who like trying out c++ unit test frameworks
* people who are unsatisfied with existing c++ unit test frameworks
What does it offer that existing frameworks don't?

--
Ian Collins
Nov 11 '08 #2
On Nov 10, 11:14*pm, Ian Collins <ian-n...@hotmail.comwrote:
Matt Graham wrote:
Hi,
This message is for:
* people who like trying out c++ unit test frameworks
* people who are unsatisfied with existing c++ unit test frameworks

What does it offer that existing frameworks don't?
There are some goals enumerated in the link, I should have included
them in the original post. The ones that are perhaps improvements
over other frameworks are the combination of:
* Easy to use
* Brief syntax, simple enough to be used without macros if desired
* Can run individual tests, files or suites from the command line
* Clear, operator-based assertion syntax
Nov 11 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: | last post by:
Hi! I'm looking for unit-testing tools for .NET. Somthing like Java has --> http://www.junit.org regards, gicio
16
by: Greg Roberts | last post by:
Hi I want to place the tests needed in the code using attributes. There seems to be enough code snippets around for me to cover this. e.g. // Test cases, run these here on the function and...
4
by: sylcheung | last post by:
Hi, Does anyone has any suggestion for Unit Test Framework for c++ program? Is there any framework which let me use some script languages (e.g. python) to write the test cases to test c++...
5
by: VvanN | last post by:
hi, fellows I'd like to intruduce a new unit test framework for C++ freely available at: http://unit--.sourceforge.net/ It does not need bothering test registration, here is an example ...
6
by: Michael Bray | last post by:
I've just inherited a fairly large project with multiple classes. The developer also wrote a huge number of unit tests (using NUnit) to validate that the classes work correctly. However, I don't...
5
by: shuisheng | last post by:
Dear All, I was told that unit test is a powerful tool for progamming. If I am writing a GUI code, is it possible to still using unit test? I have a little experience in using unittest++. But...
176
by: nw | last post by:
Hi, I previously asked for suggestions on teaching testing in C++. Based on some of the replies I received I decided that best way to proceed would be to teach the students how they might write...
2
by: =?Utf-8?B?QXJtaW4gR2FsbGlrZXI=?= | last post by:
Hi I've got an unexpected error in a unit test. I want to test a activity from Windows Workflow Foundation (WF). First, I executed the test outside of the activity just in the test-init...
5
by: Zhanyong | last post by:
Hi, We are glad to announce that today we have open-sourced Google C++ Testing Framework (http://code.google.com/p/googletest/), a library that helps you write better C++ tests. You can read...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.