ANR AAPG 2018 – PHILAE Project
Project Presentation
- Pr. Bruno Legeard – Scientific Coordinator
- Pr. Roland Groz – project leader for LIG (Grenoble)
ANR AAPG 2018 PHILAE Project Project Presentation Pr. Bruno - - PowerPoint PPT Presentation
ANR AAPG 2018 PHILAE Project Project Presentation Pr. Bruno Legeard Scientific Coordinator Pr. Roland Groz project leader for LIG (Grenoble) From Model-Based Testing to Cognitive Test Automation PHILAE Mission Statement PHILAE
effectiveness
Test Scripts System Under Test
TODAY TOMORROW WITH PHILAE
Test Scripts Execution Traces System Under Test
Automated trace selection Manual test design and implementation Automated test script generation
User execution traces Manual testing execution traces Automated testing execution traces
Automated regression tests 1- Select traces as new regression test candidate
Selected traces
3- Generate reduced executable test suites 4- User Friendly fault reporting Code change Metadata
System Under Test WEB SERVICES
Test execution results Defect data 2- Abstract workflows from traces
enough” coverage for the automated regression tests
and minimizing the whole generated regression test suite
automatically produced
ü Clustering traces à see SMA work on legacy test case analysis and refactoring ü Model learning from traces à from LIG Background
ü Learning automated test actions ü Mapping traces to sequences of test actions
minimizing the whole generated regression test suite
ü Define this as a constraint optimization problem and solve it à from SRL Background
automatically produced
ü Coverage analysis from learned models à From SMA background
Automated regression tests 1- Select traces as new regression test candidate
Selected traces
2- Abstract workflows from traces 3- Generate reduced executable test suites (with test execution results)
System Under Test
4- User Friendly fault reporting
WEB SERVICES
WP1 WP2 WP3 WP4 WP5
User execution traces Manual testing execution traces Automated testing execution traces
Code change Metadata Test execution results Defect data
reboot
bugs/month)
API)
Currently Investigating:
SCHOOL BUS SYSTEM ARCHITECTURE
iPad
Cognitive Test Automation
key trace.anon regression tests robustness tests MBT Model Anonymise Replay
Features
<?xml version='1.0' encoding='UTF-8'?> <RequestWrapperOfStatusOutput> <Time>2018-09-14T07:43:16.7749833+10:00</Time> <Origin>BUS23</Origin> <Path>/webservice/SchoolMobileWS.asmx/SNSCheckIn</Path> <Request>username=USER417&password=PASS949&studentID=1595&run=RUN364&time=2018-09- 14T07:43:04.213&latitude=???&longitude=???</Request> <Response> <Status>0</Status> <ClientCode>GAT</ClientCode> </Response> </RequestWrapperOfStatusOutput>
One student checks into the bus by swiping their card
HOW TO TEST? VERSION 1: SMART TESTER
¡ Manual Inspection, Python (Jupyter Notebook, visualisation, etc)
¡ LPMAAA..................A.........i...i...i...i..i...A.....i....i.......i........................iiO.... ¡ LPMA.............I...........o.........o..o........o..o....o..ooC....o..........
¡ Simple FSM plus set of students
ests; (2) Robustness T ests
¡ (1) just replay; (2) add bad inputs, bad transitions, etc.
Next