Hi Alex,
On Oct 10, 2008, at 13:25 , Alexandre Bergel wrote:
I tried your extension and have the following questions/problems:
- when I first run all the tests in the system, I get 4 failures
(as expected) but the bar on top stays green where it should be
yellow (it worked before)
that's strange. I run all the test, and it turns yellow saying:
"10 October 2008 1:07:37 pm 2286 run, 2279 passes, 4 expected
failures, 3 failures, 0 errors, 0 unexpected passes"
ok, I downloaded a fresh image and updated to 10091 and now it also
works for me.
- I don't understand the "Progress" feature. What I did is run the
tests, then "Store results", then I fixed a failing test, then "Run
Failures", then "Show progress". But nothing happens. Maybe I did
something wrong?
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...
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'
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.
Cheers,
Adrian
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