Thanks for your feedback.
Result is displayed in the Transcript. Sorry to not have said it
before.
oh, I see. Yes, this seems to be a really useful feature!
What is the difference between storing the result via the "History"
button vs. "Store result into classes". Then also the results of
"show diff" and "Show Progress" are almost the same. I guess this
is to make it possible to store the results with the code. It seems
to me that this could be simplified...
It is probably not well done. But the idea is to have two
granularities of history:
- one during the session: a programmer can see its progress since its
last run
- one persistent: a programmer can see its progress since the last
commit
The History button actually save the result in the TestRunner, and not
in the classes. It means that if you close your testrunner, you loose
your history.
'Store result into classes' creates methods in the test cases that
contains the results when you stored it. It is therefore persistent.
We though first about opening a workspace with the result inside,
but I did not find an easy way to do it. So, for now, it prints in
the Transcript.
If you want to open a workspace you can do it like this: Workspace
new contents: 'foo'; openLabel: 'SUnit Progress'
Excellent, the change is waiting in PharoInbox.
SUnitGUI-AlexandreBergel.13
I think the feature should be more intuitive so that a user can
figure out how it works just by trying it out. Wouldn't the
following 2 actions be sufficient for most cases: 'Remember Result',
'Compare Result'? You would always only remember one result and no
diff selection and history deleting would be necessary. The
usability would increase because you would go down from 8 possible
user actions to 2.
It makes sense.
I do not have problem to remove the 'history' button, and to keep (and
rename) 'Remember Result', 'Compare Result'.
I was just wondering whether having a local in time history and a
persistent one would make sense.
We could only keep the latter.
Cheers,
Alexandre
Cheers,
Alexandre
On Oct 1, 2008, at 16:56 , Alexandre Bergel wrote:
Dear list,
In PharoInbox Gwenael and I put an extension of SUnit that
records results when running a set of test.
Feel free to suggest improvement....
Open a TestRunner to enjoy its 'History' button.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project