a new test tool in sap circuit diagram for code
play

A new Test Tool in SAP Circuit Diagram for Code SAP ABAP Test Seams - PowerPoint PPT Presentation

A new Test Tool in SAP Circuit Diagram for Code SAP ABAP Test Seams Moose2Model Referent: Rainer Winkler Date: 11 September 2018 Unit Tests are fine If external dependencies can be managed SAP ABAP Test Seams For Unit Tests with external


  1. A new Test Tool in SAP Circuit Diagram for Code SAP ABAP Test Seams Moose2Model Referent: Rainer Winkler Date: 11 September 2018

  2. Unit Tests are fine If external dependencies can be managed

  3. SAP ABAP Test Seams For Unit Tests with external dependencies

  4. Coding Testcoding Syntax Check based on Coding Syntax Check based on Testcoding

  5. Test Inser)ons can be done mul)ple )mes Typical applica)on: 1. Insert a fail statement in the setup method of the test 2. Insert the test coding in the test

  6. Works fine When a few simple rules are followed in the insertion 1 – Implement inserted test coding correctly 2 – Monitor whether all Test Seams have a Test Injec)on See h=ps://blogs.sap.com/2018/06/08/abap-test-seam-for-unit-test-with-external-dependencies-personal-guideline/ for complete list

  7. No need to implement the Test Seam Pa=ern manually Test and produc)ve coding are well separated Can be added to Legacy Code with minimal risk Other techniques to handle dependencies can be be=er If they are used If they are worth the addi)onal effort

  8. Before Test Seams where available I wrote Tests only some)mes With Test Seams, I do it much more oTen

  9. What other computer languages provide Test Seams as part of the language? Do we need this in Smalltalk?

  10. Search for Test Seam and SAP or ABAP on the internet for more informa)ons

  11. 2 Circuit diagrams for soTware Moose2Model

  12. Can this help developers? Yes - with tools that automa)ze crea)on and upda)ng

  13. Moose2Model - Display exis)ng diagram Context Menu of Moose Model -> Read Layout from Path

  14. I worked on the "Suppress Other Logic" yesterday, which elements where to be regarded? The methods and classes are displayed together with there dependencies

  15. What is displayed? Right click on deskop -> Redraw ... with forma`ng info Highlighted elements are always displayed (as long as they are in the extrac)on) Other elements only when they exist

  16. Customize Rearange elements - will be stored to file

  17. Add comments

  18. Highlight neighbours (Helps in big diagrams)

  19. Explore More elements are shown Redo this

  20. Simplify (Exclude some elements, for instance for logging...)

  21. Architecture Diagrams Show only groupings (class/packages)

  22. Diagrams can be made fast Diagram genera)on is relaxing (automa)za)on) Keeping diagrams correct is relaxing (automa)zed) Diagrams are (always) correct Reduces cogni)ve load during coding

  23. www.moose2model.org MIT License h=ps://youtu.be/k8RkDwlXKmg Works currently for SAP and Smalltalk , could work for all languages where an extractor to Moose exists

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend