Re: [Pharo-users] How are people doing TDD?
I usually use two different browser for the test and code. But I still haven't figured out how to use keyboard shortcuts effectively. Autotest can help to run the test automatically after accepting the code. Sent from my ASUS Eee Pad Tim Mackinnon <tamackinnon@gmail.com> wrote:
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.
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.
On 18 Dec 2012, at 10:22, Attila Magyar <m.magyar3@gmail.com> wrote:
I usually use two different browser for the test and code. But I still haven't figured out how to use keyboard shortcuts effectively. Autotest can help to run the test automatically after accepting the code.
Yeah, that is what I do as well: use multiple browsers for multiple contexts, usually with an open test runner as well (with a specific subselection of tests). I like shortcuts and I absolutely want them, but Smalltalk is quite visual for me, and I use the mouse/trackpad a lot. -- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill
participants (2)
-
Attila Magyar -
Sven Van Caekenberghe