Hi Peter,
I just realize it is probably best to return to your initial post
in order to not drift into D) ;-)
Am 24.10.15 um 20:36 schrieb Peter Uhn��k:
bump? :)
I don't think it is a good idea to provide tests fro general
Collections that first convert it to some specialized Collection
class. There may be nothing wrong with doing so, but it always
depends on what exactly you want to test for. If converting to an
Array is part of that test, the test is specialized and not for
Collections in general.
Seems to be an indication that your test is not a general Test on
Collections...
You name it ;-)
These names (I know, they are just examples, so I don't pick on them
specifically) are always open for interpretation.
No. For several reasons:
* The whole discussione we're having on this
* SUnit is a framework that is cross-platform. You can never be
completely sure that a certain method on a Collection class which is
not in the ANSI standard gives you the same results on another
Smalltalk
A much better approach. But then we have a portability problem if
things like extensions and method overrides come into play. So this
requires architectural changes in SUnit to enable a plugin
mechanism. That, btw, would be a great thing!
This should surely be a starting point to stabilize things. If we
had plugins, it would be easy to publish your stuf as plugin at any
time.
If you mean others think you should just shut up and you should just
do it for yourself, then I think it is not a good option. I am quite
sure your question shows that there is a problem with SUnit. Be it
with Collections or any other area. SUnit started as something quick
and dirty and thus is not perfect for many situations. We should
look for patterns and solutions. I would definitely disagree if you
suggest people might think your questions are a non-problem!
Joachim
--
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel mailto:jtuchel@objektfabrik.de
Fliederweg 1�� �� �� �� �� �� �� �� �� �� �� �� ��http://www.objektfabrik.de
D-71640 Ludwigsburg http://joachimtuchel.wordpress.com
Telefon: +49 7141 56 10 86 0�� �� �� �� ��Fax: +49 7141 56 10 86 1