A SolMan for all Test(Cases)
„Ein SolMan für alle (Test)Fälle“
QSC AG
Does this make you think of your last Go-Live?
2
QSC AG
The Truth About Production Testing
QSC AG 4
The Truth About Production Testing
Source: United States Library of Congress
QSC AG 5
The Truth About Production Testing
QSC AG 6
The Truth About Production Testing
Source: Wikimedia Commons https://creativecommons.org/licenses/by-sa/4.0/deed.en
QSC AG
Two short examples
QSC AG
Set up test examples
13
Source: https://www.robvegas.de/2015/08/ein-colt-fuer-alle-faelle-als-lego-set/
Two test cases:
- Data dictionary class with
local test class
- Report with local class and
local test class
Subject:
Calculator with functionality to
add, subtract, multiply, divide
and modulo division
QSC AG
Set up test examples
14
First test case:
- Data dictionary class with
local test class
Subject:
Calculator with functionality to
add, subtract, multiply, divide
and modulo division
QSC AG
Set up test examples
15
First test case:
- Data dictionary class with
local test class
Subject:
Calculator with functionality to
add, subtract, multiply, divide
and modulo division
QSC AG
Set up test examples
16
First test case:
- Data dictionary class with
local test class
Subject:
Calculator with functionality to
add, subtract, multiply, divide
and modulo division
QSC AG
Set up test examples
17
First test case:
- Data dictionary class with
local test class
Subject:
Calculator with functionality to
add, subtract, multiply, divide
and modulo division
QSC AG
Set up test examples
18
Second test case:
- Report with local class and
local test class
Subject:
Calculator with functionality to
add, subtract, multiply, divide
and modulo division
QSC AG
Set up test examples
19
Second test case:
- Report with local class and
local test class
Subject:
Calculator with functionality to
add, subtract, multiply, divide
and modulo division
QSC AG
Set up test examples
20
Second test case:
- Report with local class and
local test class
Subject:
Calculator with functionality to
add, subtract, multiply, divide
and modulo division
QSC AG
Set up test examples
21
Seocnd test case:
- Report with local class and
local test class
Subject:
Calculator with functionality to
add, subtract, multiply, divide
and modulo division
QSC AG
Execute unit tests
22
QSC AG
Execute unit tests
23
QSC AG
ATC Integration
QSC AG
Integration ATC
25
 configure ATC in transaction ATC
 Global check variant necassary
 choose the behavior on transport release
QSC AG
ATC and Unit Test
26
 define Check variant in transaction
SCI
 activate dynamic Test and ABAP Unit
QSC AG
ATC checks – show results in Eclipse
27
QSC AG
ATC checks – show results in SE10
28
QSC AG
I‘m a So(u)lman
QSC AG
SolMan meets TDD
30
QSC AG
SolMan Meets TDD
31
TDD is a design/development strategy not a test strategy
Development is encapsulated in the Change Management Process
Test Driven Development
Testautomation
=
Test-Suite
This picture from an unknown author is licensed after
CC BY-NC-ND
QSC AG
ChaRM Basics
32
Change Cycle
Change Request Change (Document)
Documentation of Specification
Scope Determination
Approval Procedure
Implementation Documentation
Transport Control
QSC AG
SolMan meets TDD: Request for Change
33
The Additional Role of Solution Architect with a verification step are included to ensure that the user-defined
test-cases fit all requirements in order to validate, scope and develope the described functionality
Created Validation
To Be
Approved
Verification Solution Architect
QSC AG
SolMan meets TDD: Request for Change
34
The Additional Role of Solution Architect with a verification step are included to ensure that the user-defined
test-cases fit all requirements in order to validate, scope and develope the described functionality
Created Validation
To Be
Approved
Verification
QSC AG
SolMan meets TDD: Change Document
35
The Role of Peer-Reviewer is added to the Change Document with an additional step for a peer-review before
the change is sent to the requester for approval.
In
Development
To be tested
Peer Review
Created
Peer Reviewer
QSC AG
SolMan meets TDD: Change Document
36
Added-Value for the developer is only provided by the documentation of the results. The transparency
provided for the other stakeholders involved in the change managmeent process should also be considered.
In
Development
To Be TestedPeer ReviewCreated
QSC AG
SolMan meets TDD: Transport-Related Checks
37
Additional Checks provide an added Value. They can be used outside of solution manager if the ST-PI plug-in is
installed.
Available Checks
Cross-system object lock (CSOL) check
Cross reference check
Downgrade protection (DGP) check
Critical object check
ABAP test cockpit (ATC) check
Code inspector check
Customer-specific check (BAdI implementation)
Can be called directly on the system under TX: /SDF/TRCHECK
QSC AG
Conclusion
QSC AG
SolMan for TDD – does it work?
39
Source: https://www.geekgeneration.fr/wp-content/uploads/2015/10/MacGyver.jpg
Sure!
I can MacGyver
something
outta this!
QSC AG
Conclusion
41
Developers…
 think about design before implementation
 don‘t have less work
 don‘t gain flexibility
 do have less documentation
 have easier maintenance
 can concentrate on
the business tests
Tester…
 has more transparency/information
 has a single source of truth
Change Manager…
Customers…
 save costs
 get better code quality
QSC AG
Credits
Cast
Presenter #1 Jens Rauhöft
Presenter #2 Markus Purschke
Presenter #3 Heiko Bernhart
Crew
Recherche & Layout Jan Dittmar
Abap Test Cockpit Trainer Mareike Koczy
Customer Experience Experts
Matthias Findeisen
Vielen Dank! Thank you!
„‘Cause I´m the unknown stuntman, that makes Eastwood look so
fine.“
42
developer production run

sitHH: The test guy

  • 1.
    A SolMan forall Test(Cases) „Ein SolMan für alle (Test)Fälle“
  • 2.
    QSC AG Does thismake you think of your last Go-Live? 2
  • 3.
    QSC AG The TruthAbout Production Testing
  • 4.
    QSC AG 4 TheTruth About Production Testing Source: United States Library of Congress
  • 5.
    QSC AG 5 TheTruth About Production Testing
  • 6.
    QSC AG 6 TheTruth About Production Testing Source: Wikimedia Commons https://creativecommons.org/licenses/by-sa/4.0/deed.en
  • 7.
  • 8.
    QSC AG Set uptest examples 13 Source: https://www.robvegas.de/2015/08/ein-colt-fuer-alle-faelle-als-lego-set/ Two test cases: - Data dictionary class with local test class - Report with local class and local test class Subject: Calculator with functionality to add, subtract, multiply, divide and modulo division
  • 9.
    QSC AG Set uptest examples 14 First test case: - Data dictionary class with local test class Subject: Calculator with functionality to add, subtract, multiply, divide and modulo division
  • 10.
    QSC AG Set uptest examples 15 First test case: - Data dictionary class with local test class Subject: Calculator with functionality to add, subtract, multiply, divide and modulo division
  • 11.
    QSC AG Set uptest examples 16 First test case: - Data dictionary class with local test class Subject: Calculator with functionality to add, subtract, multiply, divide and modulo division
  • 12.
    QSC AG Set uptest examples 17 First test case: - Data dictionary class with local test class Subject: Calculator with functionality to add, subtract, multiply, divide and modulo division
  • 13.
    QSC AG Set uptest examples 18 Second test case: - Report with local class and local test class Subject: Calculator with functionality to add, subtract, multiply, divide and modulo division
  • 14.
    QSC AG Set uptest examples 19 Second test case: - Report with local class and local test class Subject: Calculator with functionality to add, subtract, multiply, divide and modulo division
  • 15.
    QSC AG Set uptest examples 20 Second test case: - Report with local class and local test class Subject: Calculator with functionality to add, subtract, multiply, divide and modulo division
  • 16.
    QSC AG Set uptest examples 21 Seocnd test case: - Report with local class and local test class Subject: Calculator with functionality to add, subtract, multiply, divide and modulo division
  • 17.
  • 18.
  • 19.
  • 20.
    QSC AG Integration ATC 25 configure ATC in transaction ATC  Global check variant necassary  choose the behavior on transport release
  • 21.
    QSC AG ATC andUnit Test 26  define Check variant in transaction SCI  activate dynamic Test and ABAP Unit
  • 22.
    QSC AG ATC checks– show results in Eclipse 27
  • 23.
    QSC AG ATC checks– show results in SE10 28
  • 24.
    QSC AG I‘m aSo(u)lman
  • 25.
  • 26.
    QSC AG SolMan MeetsTDD 31 TDD is a design/development strategy not a test strategy Development is encapsulated in the Change Management Process Test Driven Development Testautomation = Test-Suite This picture from an unknown author is licensed after CC BY-NC-ND
  • 27.
    QSC AG ChaRM Basics 32 ChangeCycle Change Request Change (Document) Documentation of Specification Scope Determination Approval Procedure Implementation Documentation Transport Control
  • 28.
    QSC AG SolMan meetsTDD: Request for Change 33 The Additional Role of Solution Architect with a verification step are included to ensure that the user-defined test-cases fit all requirements in order to validate, scope and develope the described functionality Created Validation To Be Approved Verification Solution Architect
  • 29.
    QSC AG SolMan meetsTDD: Request for Change 34 The Additional Role of Solution Architect with a verification step are included to ensure that the user-defined test-cases fit all requirements in order to validate, scope and develope the described functionality Created Validation To Be Approved Verification
  • 30.
    QSC AG SolMan meetsTDD: Change Document 35 The Role of Peer-Reviewer is added to the Change Document with an additional step for a peer-review before the change is sent to the requester for approval. In Development To be tested Peer Review Created Peer Reviewer
  • 31.
    QSC AG SolMan meetsTDD: Change Document 36 Added-Value for the developer is only provided by the documentation of the results. The transparency provided for the other stakeholders involved in the change managmeent process should also be considered. In Development To Be TestedPeer ReviewCreated
  • 32.
    QSC AG SolMan meetsTDD: Transport-Related Checks 37 Additional Checks provide an added Value. They can be used outside of solution manager if the ST-PI plug-in is installed. Available Checks Cross-system object lock (CSOL) check Cross reference check Downgrade protection (DGP) check Critical object check ABAP test cockpit (ATC) check Code inspector check Customer-specific check (BAdI implementation) Can be called directly on the system under TX: /SDF/TRCHECK
  • 33.
  • 34.
    QSC AG SolMan forTDD – does it work? 39 Source: https://www.geekgeneration.fr/wp-content/uploads/2015/10/MacGyver.jpg Sure! I can MacGyver something outta this!
  • 35.
    QSC AG Conclusion 41 Developers…  thinkabout design before implementation  don‘t have less work  don‘t gain flexibility  do have less documentation  have easier maintenance  can concentrate on the business tests Tester…  has more transparency/information  has a single source of truth Change Manager… Customers…  save costs  get better code quality
  • 36.
    QSC AG Credits Cast Presenter #1Jens Rauhöft Presenter #2 Markus Purschke Presenter #3 Heiko Bernhart Crew Recherche & Layout Jan Dittmar Abap Test Cockpit Trainer Mareike Koczy Customer Experience Experts Matthias Findeisen Vielen Dank! Thank you! „‘Cause I´m the unknown stuntman, that makes Eastwood look so fine.“ 42 developer production run