On 21 nov. 08, at 13:24, Simon Denier wrote:
On 21 nov. 08, at 10:17, Stéphane Ducasse wrote:I have the not run green/red icons but not the green ones when the tests are run. Even if once it worked because I saw it. StefWhat Stef is talking about is the ability to run tests in the browser with the cmd-t shortcut. Indeed, test status is not updated in this case. Test status are only updated when ran through the *TestRunner*. But, it makes perfect sense that running tests through the browser should update the status.
I have a very simple small patch to run tests with history from the browser (one method send!). It works when running tests on a package, a class or category.
OB-Enhancements-simon_denier.254.1.cs
Description: Binary data
The running behavior when a single test method runs is different, so there is a different patch, however I am not sure we want it: running only one method will erase the previous test result for the class, so you will have to run all tests again to see their result (well the same is true if you only run a protocol and there are tests in different protocols anyway, but this is a rarity)
OBCmdTestMethod.simon.denier.1.cs
Description: Binary data
I will try to check why test classes ask for your name.
I can work out something. Any hint about how it works in OB?PS: I have been bothered by the password box being asked twice too. Worse, when I load both Polymorph and my slice, if I try to move the cursor to type in my name, it produces a new box, see screenshot. Be aware.<Picture 1.png>On Nov 20, 2008, at 11:00 PM, David Röthlisberger wrote:Now I do not understand since when I run the tests the icons do not change.Strange. So you always get the not run icon (circle with green and red)? For me this is not the case, the icons do change. Can you check whether it saved a history in the class variable of TestCase?davidStef On Nov 20, 2008, at 8:17 PM, David Röthlisberger wrote:I loaded the fix of John for the menuand the changes for SUnit icons and my image freshes when I open the Package browser and run the testsin 10162which tests? All tests? David _______________________________________________ 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_______________________________________________ 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-- Simon
-- Simon
_______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
