java - Which kind of test for which part of the software? -


i new tdd , want know kind oft test need part of software.

currently team creates relative complex editor on netbeans platform, have integrate external editor , write own stuff. how can tests best gui, own code, integration code? create coded tests , should use test cases , testers?

we considering use scala specs or junit coded tests.

thank help!

as general rule should consider writing test case every function/method write in class.

in our tdd process follow rule every java class must have corresponding junit class contains @test method every method of java class. follow 'code coverage' tell how of code have written has been tested. suggest looking @ tool called cobertura (link here) provide easy visual way examine percentage of our code has been tested. works detecting how many line of code junit class has tested every java class. provide idea functionality in code has or has not been tested. aim have 80% of code tested (easier said done though)

consider writing test cases high priority functionality first started.

we don't write junit gui. not sure if there way leave gui tested testers when application going through usual testing phase.

hope helps little.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -