YoVDO

Writing Testable Code for ABAP

Offered By: SAP Learning

Tags

ABAP Courses SAP Courses Unit Testing Courses Test-Driven Development Courses Agile Development Courses

Course Description

Overview

Agile methods like Scrum and Kanban aim to enable teams to deliver feature increments in short cycles. One of the key elements to achieving this efficiently and with high quality is the practice of test automation, which ensures that all functional and regression testing is automated. These tests are written by developers, ideally at the same time as the product code. The key to effective test automation is learning to write code which is easily testable. There are numerous benefits to following this development approach, including producing higher quality code in less time, reducing efforts for bug analysis and fixes, and being more responsive to changing requirements.

This course will teach you how to write testable code in ABAP and covers topics such as unit testing, test isolation, test-driven development, testing legacy code, and more.


Syllabus

  • Introduction to ABAP Unit Testing
    • System Information and hands-on exercises
    • Overview and Motivation
    • Introduction to ABAP Unit
    • Demo of ABAP Unit Testing in Roman Numerals
    • Exercise – ABAP Unit Testing in Roman Numerals
    • Review of Sample Solution
    • Unit Test Design, Tips, and Benefits
    • Downloads
    • Assignment Week 1
  • Test-Driven Development
    • Introduction to Test-Driven Development
    • Demo of TDD on Money Machine
    • Exercise – TDD: Money Machine
    • Exercise – TDD: Money Machine
    • Review of Sample Solution
    • Downloads
    • Assignment Week 2
  • Pair Programming & Writing Testable Code
    • Introduction to Pair Programming
    • Unit Testing for New Features in Legacy Code
    • Exercise – WTC: "Rebate Engine for Web Shop"
    • Review of Sample Solution
    • Downloads
    • Assignment Week 3
  • Test Isolation Theory and Practice
    • Introduction to Test Isolation
    • Test Isolation – Preparation
    • Test Isolation – Injection
    • Test Double Terminology and Tasks
    • Demo of Test Isolation: Injection Techniques
    • Exercises – Test Isolation
    • Review of Sample Solution
    • Downloads
    • Assignment Week 4
  • Dependency Lookup
    • Introduction to Dependency Lookup
    • Demo of Dependency Lookup
    • Exercise – Dependency Lookup
    • Review of Sample Solution
    • Multilevel Tests
    • Exercise – Multilevel Tests
    • Review of Sample Solution
    • Downloads
    • Assignment Week 5
  • Working with Legacy Code, Tools and Summary
    • Providing Testability for Existing Code
    • Test Double Frameworks
    • Continuous Integration
    • What to Focus on When Writing New Code
    • Downloads
    • Assignment Week 6
  • Next steps and further information
    • Next steps and further information

Taught by

Juergen Heymann

Related Courses

Architecting SAP on AWS
Amazon Web Services via AWS Skill Builder
Arquitectura de SAP en AWS (Español LATAM) | Architecting SAP on AWS (LATAM Spanish)
Amazon Web Services via AWS Skill Builder
AWS Certified: SAP on AWS - Specialty Official Practice Question Set (PAS-C01 - Japanese)
Amazon Web Services via AWS Skill Builder
AWS Certified: SAP on AWS - Specialty Official Practice Question Set (PAS-C01 - Korean)
Amazon Web Services via AWS Skill Builder
AWS for SAP Fundamentals
Amazon Web Services via AWS Skill Builder