Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
MTV Tilstandsmaskiner
[go: Go Back, main page]

Test  Exercise

(Under construction .....

Objective

The objective is to evaluate the usability and effectiveness of two approaches to automated real-time testing: Manually assisted test purpose based test generation and full automatic randomized online testing. Each group is given a UppAal specification of the light controller, and an (assumed!) correct implementation in java, including two example mutants. The experiment proceeds in two phases: Preparation phase and evaluation phase. 

In the preparation phase, each group will independently generate a set of test cases and a set of mutated implementations based on the given specification and implementation. Each group runs their test suite on their own mutants, and possibly extend it as desired.    

In the evaluation phase, each group swaps mutants (java bye-code) and runs 

  1. their own test suite against the groups own and other groups mutants, collecting statistics with the results (which own/goreign mutants were killed). 

  2. applies  T-UppAal (randomized online testing) to the collected mutants (e.g 10 runs per mutant)., again collecting statistics about the percentage of runs killing the mutants. 

Requirements. 

Each group is to hand in the following deliverables to be evaluated. 

The deliverables must be signed by each student who, by his signature, declares active and equal participation in preparation of the deliverables

Software

  1. Java sources for LightController 
  2. Java sources for TestLightController
  3. Uppaal Specification and sample queries
  4. Uppaal Trace to Java test converter
  5. T-UppAal tool+model (Solaris or Linux)

Instructions:

To execute application use (0 indicates mutant 0)

>java LightController 0

To execute a programmed test case (number 1 with the application running on localhost at port 9999) use

>java TestLightController localhost 9999 1

Brian