- Abraham Lincoln
I have great pleasure when I´m doing TDD. For me it is obvious that the Tools that I use, I had to optimal apply in my Programming flow.
Of course, nothing is "out of the box" but find out here how I customize and use my Programming Tools.
In my opinion, following aspects are relevant for a smooth use:
You know the Situation. Your are Programming some stuff, and some commands seem to be very annoying for you...
You type again and again the thousands assert_equal statement. And you peek for something faster, but than you continue with your next step.
This sound´s very familiar for you. And here stop and customize your ABAP Editor. In the new ABAP Editor it is possible to customize user-specific Templates.
For following commands I have an own Template:
Everything is ok. You write your Unit-Test. Make it to run "green". And then you refactor the sources. But with time you have to scroll all the time.
At the TOP of your Editor the Test-Classes were defined. And at the BOTTOM of your Editor the Implementation-Part will grow and grow.
And then you have all the Time to scroll up and down and up and down...
Would it be nice to have more Options?
And here is the time to use:
Imagine you have a smooth Package- and Class-Architecture. For some Tests you have to instanciate some classes (Preconditions) and this is necessary for all Testmethods. Then you go to the Taskbar and Press 'Pattern' or hit the Keyboard-Shortcuts CTRL+F6 for inserting an Statement.
And of course you ask you the same question as I asked me: Have I more Options?
And yes, you can drag an drop from the Object-Navigator the relevant Methods to insert Statements in the Editor.
All the above Helpers make TDD a lot of easier, and the Development process is much faster and not to forget it make Programming a joy!
What are your experiences with this Options?
Have you something different that works for using TDD in the ABAP-World?
Further Information
Blogs in this Series:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
23 | |
4 | |
3 | |
3 | |
2 | |
2 | |
2 | |
2 | |
2 | |
2 |