woodruffr1973 / ardb

Automatically exported from code.google.com/p/ardb
0 stars 1 forks source link

Add Unit tests #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As we are moving lot of things around we need to create unit test to
quickly detect any defect

I guess somthing similar to junit of the java world exist for unit test of
c++ classes.

Original issue reported on code.google.com by meshee.k...@gmail.com on 5 Nov 2007 at 10:12

GoogleCodeExporter commented 9 years ago
You can use nunit by following the instructions here apparently:
http://www.codeproject.com/useritems/GenTestAsmBase.asp

Have yet to try it myself, but if you have yet to lock the choice down I am 
happy to
create a couple of basic unit tests to see if it is worth while. the main 
advantage
to nunit is that it has a great gui to run your tests which is a lot easier to 
use
and read than the command line driven approach.

Original comment by sim...@gmail.com on 14 Nov 2007 at 8:14

GoogleCodeExporter commented 9 years ago
I'm a huge fan of Nuint.  Used it a lot on my last project at work.  If you can 
get
this to work go ahead simcof.

Original comment by graham.r...@gmail.com on 14 Nov 2007 at 9:08

GoogleCodeExporter commented 9 years ago
Closing these off as I will not have time to fix these.

Original comment by graham.r...@gmail.com on 20 May 2010 at 9:00

GoogleCodeExporter commented 9 years ago
I might work on this, recently i wrote test cases in C#, php and java. I guess 
i can write in c++ as well if we 
decide on the testing framework.

Original comment by gokturk....@gmail.com on 20 May 2010 at 9:13

GoogleCodeExporter commented 9 years ago
OK.  It may be worth looking at googles unit test framework.  I guess we want 
to unit 
test the database update the most as this is where we get all the problems with 
card 
names.

Original comment by graham.r...@gmail.com on 21 May 2010 at 5:57