mailRe: unit tests vs... the current test_suite


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Gary S. Thompson on October 30, 2006 - 18:39:
Edward d'Auvergne wrote:

> One thing we could do is set up the test suite into the three-tiered
> system - unit tests, functional or system tests, and regression tests
> - that I discussed in the 3rd paragraph of


After though I think you need two levels functional tests and unit tests (as I discuss elsewhere regression tests are just classes of fucntional and uni tests)


If you can catch a regression in any of the categories of software
tests, then I suppose there is no 'real' category called 'regression
tests'.


> The other tests
> could manually implement an analogous methodology to decrease the
> amount of stuff printed out.  There's absolutely no point printing
> stuff, apart from a summary, if the test passes.  This will probably
> involve IO redirection (of stdout and stderr) to catch and store the
> crap from each test.

I don't see why we an'c just use the same framework...


If this is possible, then we can use parts or all of the framework.
The less work, the better.


absolutley

> If the integration of unit tests are completed before the redesign,
> one unit test could be added as each function is updated.

You may want o add some contratural unit tests for higher level
functions as you redesigne it's lower level functions....


I've never written unit tests before, this is completely new to me.
Hopefully there's no overlap between unit and function (which I think
is the same as system) tests.

that my understanding (as little as it is)

Edward

.



--
-------------------------------------------------------------------
Dr Gary Thompson
Astbury Centre for Structural Molecular Biology,
University of Leeds, Astbury Building,
Leeds, LS2 9JT, West-Yorkshire, UK             Tel. +44-113-3433024
email: garyt@xxxxxxxxxxxxxxx                   Fax  +44-113-2331407
-------------------------------------------------------------------





Related Messages


Powered by MHonArc, Updated Mon Oct 30 19:01:42 2006