Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » unit testing in U++
unit testing in U++ [message #5996] Fri, 27 October 2006 04:16 Go to previous message
exolon is currently offline  exolon
Messages: 62
Registered: July 2006
Location: 53'21N 6'18W
Member
Luzr mentioned that unit testing might be a future addition to U++'s arsenal.

So I guess this is as good a place as any to discuss it, having not found anything elsewhere on the forums.

A good introductory read on the state of C++ unit testing (albeit 2 years ago) is here - that guy went on to write his own testing framework, UnitTest++, since he uses test-driven design in his job. I was thrown into TDD in Java while on a work placement this Spring/Summer, and want to embrace it as much as possible in C++ with U++ if I can.

I'm not sure which approach is best, since C++ is an entirely different beast to Java. A big weakness with most testing frameworks in C++ IMO is that they don't allow mock object testing, which was truly useful in our work. Apart from that, there are a lot of good approaches...

Input welcome!

Oisín
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Automated tests
Next Topic: New Core preview
Goto Forum:
  


Current Time: Wed Jun 25 16:36:12 CEST 2025

Total time taken to generate the page: 0.03213 seconds