I've been using TDDFacilities in Pharo since it was first released. It is precisely what I needed to achieve real TDD while developing my tools. New features in the New Compiler and TextLint (from scratch) were developed using this tool.
Doru, if you want I can give you a short demo of it. I think that what Hernan is proposing is very important. The debugger is the tool that TDD developers use the most, we should concentrate on it first and then try to find out other potential improvements in other tools. I think we should invest some time into this. Cheers, Jorge On Fri, Jun 4, 2010 at 7:36 AM, Lukas Renggli <[email protected]> wrote: > OBSUnitIntegration is already providing some of those: > >> 1) When you are in the browser writing a test method, you can press ctrl + t >> to save the method and run the test. If the test runs, it will show the >> green dot in the browser, if it does not, it popups the debugger directly on >> the error. So, this is a way to avoid pressing ctrl + s (save) then going to >> the method list, rigth click an select run test and if it fails select that >> you want to debug it. > > Ctrl+T does not save, but it runs the tests and shows the debugger. I > don't think that I like the two things to be combined :-) > >> 2) Same as ctrl + t but ctrl + r to directly debug the test. It saves the >> method, puts a breakpoint in it and debugs it. Unfortunaly, in Pharo >> breakpoints dont show very well in the debuger (it highlights incorrect >> collaborations) > > Ctrl+D opens a full debugger on the first line of the selected test, > no matter if the test fails or not. It doesn't use breakpoints. And I > use it all the time :-) > > So maybe we could combine some of that code? > > Lukas > > > -- > Lukas Renggli > www.lukas-renggli.ch > > _______________________________________________ > 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
