Software Architecture ATAM Process Presentation Your Application Name

  • Slides: 16
Download presentation
Software Architecture ATAM Process Presentation Your Application Name

Software Architecture ATAM Process Presentation Your Application Name

Outline Introduction to your application ATAM Step 3 - Present Architecture ATAM Step 4

Outline Introduction to your application ATAM Step 3 - Present Architecture ATAM Step 4 - Identify Architectural Approaches ATAM Step 5 - Generate Quality Attribute Utility Tree ATAM Step 6 - Analyze Architectural Approaches Conclusion Sample

What is your application /Why do you need the application GUI – Graphical User

What is your application /Why do you need the application GUI – Graphical User Interface GUI Testing – Test the software with GUI The most of software using GUI to Sample interact with user, and GUI plays very important role in software Test Driven Design (TDD) is very popular

How to do GUI Testing Automation Reduce time to operate the software Create test

How to do GUI Testing Automation Reduce time to operate the software Create test case in easy way Sample Use a great algorithm to generate test data Provide a convenient way to edit test-flow

Basic Concept Determine what to test Generate test input Sample Generate expected output Execute

Basic Concept Determine what to test Generate test input Sample Generate expected output Execute test case and verify output Determine if the GUI was adequately test Performing regression testing

ATAM Step 3 Present Architecture Context Diagram Sample

ATAM Step 3 Present Architecture Context Diagram Sample

Layer View AP User GTT OS Tester Java Runtime Environment JVM Interceptor Swing Application

Layer View AP User GTT OS Tester Java Runtime Environment JVM Interceptor Swing Application Jemmy Runner Sample Script Model XML Test Case generation Editor GTT User FSM Model HFSM Model OR

OR Model View GTT Runner Interceptor Sample Script Model XML Editor Test script MFSM

OR Model View GTT Runner Interceptor Sample Script Model XML Editor Test script MFSM Editor HFSM Editor Test case generator FSM Model HFSM Model GTT User

Quality attributes Reliability Modifiability Performance Sample

Quality attributes Reliability Modifiability Performance Sample

Modifiability Add supporting other Java GUI library Artifact: … Stimulus: Source: Response: … …

Modifiability Add supporting other Java GUI library Artifact: … Stimulus: Source: Response: … … Sample developer Response Measure: Environment: … … Add edition of test case ways and views Artifact: … Stimulus: Source: developer Response: … … Environment: … Response Measure: …

ATAM Step 4 Identify Architectural Approaches MVC Pattern Because of providing graphic interface, implementation

ATAM Step 4 Identify Architectural Approaches MVC Pattern Because of providing graphic interface, implementation with MVC pattern is required In order to add new edition way and views The most important parts of GUI Testing is core algorithm, and we should separate it from view Sample

Layer Pattern By context diagram, whole GUI Testing architecture just likes layers Each layer’s

Layer Pattern By context diagram, whole GUI Testing architecture just likes layers Each layer’s output will be as next layer’s input Sample

ATAM Step 5 Generate Quality Attribute Utility Tree Quality Attribute Refinement Scenario Reliability Detect

ATAM Step 5 Generate Quality Attribute Utility Tree Quality Attribute Refinement Scenario Reliability Detect incorrect GUI components … … … Test Driven … Support other GUI library … … … … Modifiability Performance Do test oracle Test Case Generation … …

ATAM Step 6 Analyze Architectural Approaches Scenario #: M 3 Scenario: Add edition of

ATAM Step 6 Analyze Architectural Approaches Scenario #: M 3 Scenario: Add edition of test case ways and views, and should be done in a week Attribute(s) Modifiability Environment Design Time Stimulus Change tree-view to diagram-view Response Modification is made without effecting model Architecture decisions Sensitivity Tradeoff Risk Nonrisk MVC Pattern S 1 Reasoning If want to generate test case by FSM ways, add diagram-view into editor is quite important. Tree Diagram view Editor Architecture Diagram

Analyze Architectural Approaches Sensitivity S 1: MVC pattern is a sensitivity point to modifiability.

Analyze Architectural Approaches Sensitivity S 1: MVC pattern is a sensitivity point to modifiability. S 2: Update the newest hardware is a sensitivity point to performance. Sample

Conclusion and Lesson Learn! Sample

Conclusion and Lesson Learn! Sample