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++
Re: unit testing in U++ [message #6109 is a reply to message #6084] Tue, 31 October 2006 06:47 Go to previous messageGo to previous message
exolon is currently offline  exolon
Messages: 62
Registered: July 2006
Location: 53'21N 6'18W
Member
luzr wrote on Mon, 30 October 2006 06:11

Well, I was even thinking about something like overnight tests (test server downloads sources from versioning system, runs tests, sends report by email).

Well, sure. You might configure CVS to cause a build and test for every check in. Working over the summer, we had CruiseControl run continuous builds of all projects on the build server, automatically... when you checked in changes that broke anything, it'd email us, or for some of us (until we turned off notifications) send SMS to our phones Smile

luzr wrote on Mon, 30 October 2006 06:11

BTW, it is my impression that in fact, errors must be quite rare while testing...

Depends on how you code and test. With test-driven design, the way I like to code, you write a little bit of test code BEFORE that functionality exists, then run that test, confirm that it fails... then write the smallest piece of code to pass that test. Then you watch it pass, and repeat the process until you've implemented what you wanted. Usually works well for me, but some things are harder to test, of course.

About some of the GUI stuff (and more), there is some discussion of it starting here.
 
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 21:19:24 CEST 2025

Total time taken to generate the page: 0.02767 seconds