About test presence

Peter van Rooijen peter at vanrooijen.com
Fri Dec 19 18:59:12 UTC 2003


> For me I want to use SUnit because this is somehow standard and we do
> not have tests
> within class.

Okay, so you want to have the simplest possible solution for organizing and
managing tests, given that you are using SUnit, and you are not going to put
tests within "regular" classes. In that case my suggestion that it is
simplest to put the tests in the classes under test themselves, won't help
you much. I didn't understand those requirements from what you said earlier.

> > If I understand your words correctly, you want the tests for the code
> > in the
> > image to be more easily accessible. Is this so that it is easier to run
> > tests for whatever you have in your image, to see if a change you made
> > broke
> > anything? Plus to have examples of usage readily available? Plus it
> > makes
> > the tests more visible, so they are more likely to be debugged and new
> > ones
> > written?
>
> Yes

Okay, good goals. What exactly don't you like about the current situation?

Regards,

Peter




More information about the Squeak-dev mailing list