est
T
*
Vakgroep Informa+ca Open Universiteit NetherlandsTanja E.J. Vos
T * est Tanja E.J. Vos So#ware Tes+ng and Quality Group (StaQ) - - PowerPoint PPT Presentation
T * est Tanja E.J. Vos So#ware Tes+ng and Quality Group (StaQ) Vakgroep Informa+ca Research center for So#ware Produc+on Methods (PROS) Open Universiteit Universidad Politecnica de Valencia Netherlands Spain T * est What is
Tanja E.J. Vos
¿What is ? est
T
*
Why is usefull?
est
T
*
¿What is not ?
est
T
*
ABC
What is ?
est
*
How does work?
est
T
*
START SUT SCAN GUI + OBTAIN WIDGET TREE more actions? Domain Experts DERIVE SET OF USER ACTIONS EXECUTE ACTION No Yes Action Definitions Oracle Definition STOP SUTActive Widget Tree
Active Widget Tree
How does work?
est
T
*
START SUT SCAN GUI + OBTAIN WIDGET TREE more actions? Domain Experts DERIVE SET OF USER ACTIONS EXECUTE ACTION No Yes Action Definitions Oracle Definition STOP SUTworks for all kinds of so#ware!
GUI state, Faults Runtime data Test Suites ABSTRACTION LAYER Test Execution Test Evaluation Test Execution Test Evaluation Test Execution Test Evaluation Test Execution Test Evaluation What do you need?? Test Suite Generator Abstract Representation (WIDGET TREE) Abstract Oracles Cheap Oracles Free Oraclesest
T
*
READY
est
T
*
PATH to SUTSET
est
T
*
undesired ac+ons undesired processesGO!
Oracles give verdicts about each state of the GUI
100% Automated oracles
.*NullPointerExcep+on
.*|[Ee]rror|[Pp]roblem
Oracle – Suspicious +tles
Oracle – Suspicious +tles (under the hood)
Verdicts oracle_SuspiciousTitles(State state){ verdicts = new Verdicts(): String regEx = settings().get(SuspiciousTitles); // search all widgets for suspicious titles for(Widget w : state){ String title = w.get(Title, ""); if(title.matches(regEx)){ verdicts.add(new Verdict(“suspicious title..”); } return verdicts; }
Add any oracle by addi+onal programming
est
T
*
Verdicts oracle_ImagesWAI(State state) { verdicts = new Verdicts(): for(Widget w : state){ Role role = w.get(Tags.Role); if (role.equals("UIAImage") && title.isEmpty()) verdicts.add(new Verdict("Not all images have an alternate textual description"); } return verdicts; }
How does change tes+ng?
est
*
Requirements
Test Suite
ExecutionTest Suite Requirements
ExecutionHow was used?
est
*
het systeem na testen met TESTAR?
Classifica+e!
evalueren
Volgende stappen: Kwaliteits criteria
we een gekozen doel op+maliseren
ac+es
event handlers dat word aangeroepen
Volgende stappen: Action selection
+me
have a valid target site
more than T MB of memory
Volgende stappen: More abstraction
Volgende stappen: …................
Tot slot, nog wat andere dingen:
– hlps://events.nl.atos.net/#/LocalEvents/1
– samen met VERSEN? – hlp://blog.uiin.org/2016/02/european-so<ware- tes+ng-innova+on-alliance-euros+a-kick-off- mee+ng-planned-in-amsterdam/
est
*