Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Majcon at abap code_retreat_stjohann_2017_fast track tdd


Published on

Community Event 'ABAP CodeRetreat' in St. Johann Tirol (15th July 2017)

Published in: Software
  • Be the first to comment

  • Be the first to like this

Majcon at abap code_retreat_stjohann_2017_fast track tdd

  1. 1. @majcon Fast-track Test-Driven Development ABAPCodeRetreat St. Johann Tirol 2017
  2. 2. Software development is complex
  3. 3. Copyright Majer Consulting hey boss everything is under control… how is presented how the truth is
  4. 4. writing working software is not enough!
  5. 5. Test-Driven Development “is a software development process that relies on the repetition of a very short development cycle: requirements are turned into very specific test cases, then the software is improved to pass the new tests, only. This is opposed to software development that allows software to be added that is not proven to meet requirements. …TDD encourages simple designs and inspires confidence. Test-driven development is related to the test-first programming concepts of extreme programming, begun in 1999, but more recently has created more general interest in its own right.” WIKIPEDIA:
  6. 6. Feedback-Driven • write a test • make it fail • keep it simple • tests are examples • tests becomes documentation ACR RED GREEN REFACTOR • get to green fast • take baby steps • stuck? undo and start over • write only enough code to pass the test • remove duplication (in code and tests) • rename and clean up • run tests and stay green • change implementation not behaviour • improve structure in small steps you start here! Test Driven Development Cycle THINK!
  7. 7. Feedback-Driven Demo
  8. 8. Hands on is still the best way to knowledge…
  9. 9. Damir Majer Majer Consulting > Agile Solution Management @majcon Unit-Tests mit ABAP® Unit dpunkt.verlag Besseres ABAP Schnell, sicher, robust SAP Press CodeKata ABAP Collaboration Project New Services: Online Coaching / Advisory Get in contact and send me an email