Hi Tim I wrote a package called TDDFacilities that helps you to do TDD, for example presing ctrl + t on the code panel saves the method and runs the test. If there is an error, it shows the debugger directly so you can fix the problem. Also if you change the test when debugging, it runs the teardown and setup automatically and so on... I works on Pharo 1.3, I don't remember if it works on 1.4... but should be easy to port it :-) I hope it helps
On Tue, Dec 18, 2012 at 7:45 AM, Stéphane Ducasse <[email protected] > wrote: > I do not know. > I know that hernan wilkinson was using pahro for doing TDD. There was a > package for TDD. > Now we are ready to improve but we need people to submit code because we > are busy. > > Stef > > > > I am curious how people are doing TDD in Pharo? I just tried a session > with > > some of the guys at the UK Smalltalk meetup and I was finding it a bit > > frustrating in the Pharo 1.4 image. > > > > I really like the new Toggle from Class to Test (cmd-j) option that got > > introduced - someone has definitely been writing tests in Pharo - > however it > > does my head in that pressing it after editing a method doesn't jump me > > back. I also find the same problem when editing a test - that pressing > cmd-t > > to run it, just puts a "t" in my source code and doesn't run the test. > > > > On a related theme - I also find it a bit awkward that I often have to > click > > in the source pane to get focus there to enter some code, I'm kind of > > missing some easy keystroke to put focus there so I can just start > typing in > > a new method. > > in nautilus I think that you have tab. > > > > > Am I missing some tricks here? Will the new 2.0 help with some of this (I > > wanted to try it to see but the one click link is broken). I did try the > CI > > link - but I couldn't see where the 1-click job was running. As an aside > - > > there seem to be lots of red balls on Jenkins? > > > > Tim > > > > > > > > -- > > View this message in context: > http://forum.world.st/How-are-people-doing-TDD-tp4659726.html > > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. > > > > > -- *Hernán Wilkinson Agile Software Development, Teaching & Coaching* *Phone: +54 - 011 - *6091 - 3125* Mobile: +54 - 911 - 4470 - 7207 email: [email protected] site: http://www.10Pines.com <http://www.10pines.com/>* Address: Alem 693, Floor 5 B, Buenos Aires, Argentina
