4 ms·
He is talking about an IDE feature that indicates that, well, your test passed! http://www.eclipse.org/ajdt/EclipseCon2006/shots/junitTestsPassing.png http://w
by felipe 18y ago
He is talking about an IDE feature that indicates that, well, your test passed!
http://www.eclipse.org/ajdt/EclipseCon2006/shots/junitTestsPassing.png http://www.eclipse.org/ajdt/EclipseCon2006/shots/junitTestsP...
The idea is that you write a few lines of code, test it (most likely you'll get red), and you keep fixing your code until you get green, and only then you proceed to the next task.
As far as I know, it started with jUnit on Eclipse, and then others implemented the concept on other languages / IDEs.
- jamongkad 18y agoSweet....is there something similar for VIM?
- mullr 18y agoIn emacs they call this general capability 'flymake', I think. Perhaps that+google will get you what you want.
- musiciangames 18y agoJUnit was derived from SUnit in Smalltalk. In Smalltalk/Squeak, you can write the Unit tests and the code you're testing alongside each other, live, from the debugger. It certainly makes things easier being able to see the live objects, in deciding how they should behave. And by testing the objects in situ, you pretty much know your code is going to run as you expect.