Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [stellation-res] misc revision main@@4 - add test 10 (Bugzilla 21819), test 11 (Bugzilla 21826)

 --- Dave Shields <shields@xxxxxxxxxxxxxx> wrote: 
> 
> I took a look at Junit docs, and am unclear how to write Junit test
> that, for example,
> does repeated merge. Workspace tests tend to involve multiple runs of
> svc with non-trivial
> IO.

It seems that you are writing functional tests instead of unit tests.
Unit tests should be more fine grained than testing a full repeated
merge operation. Unit tests are tests that for example test the result
of a method based on specific input. Most of the time, you will end up
with 'x' unit tests per method that you want to test.

Ringo

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com


Back to the top