A .NET-based Test-Data Generator for Combinatorial Grammar- and Schema-based Testing
Vadim Zaytsev with: Ralf L¨ ammel (VU), Wolfram Schulte (MSR) 14 April 2004
A .NET-based Test-Data Generator for Combinatorial Grammar- and - - PowerPoint PPT Presentation
A .NET-based Test-Data Generator for Combinatorial Grammar- and Schema-based Testing Vadim Zaytsev with: Ralf L ammel (VU), Wolfram Schulte (MSR) 14 April 2004 Grammar ware grammars grammar-dependent software In this project:
Vadim Zaytsev with: Ralf L¨ ammel (VU), Wolfram Schulte (MSR) 14 April 2004
– XML Validators – W3C XML Schemata as grammars
http://www.cs.vu.nl/grammarware/
1
– virtual machines – just-in-time compilers
– automated software modification & analysis
– optimisation of XPath
2
...
Term
Term Term Term Term Term Term Term Term Term Term Term Term
Adversary of stochastic testing
3
Cardinalities per depth
4
...
Term
Term Term Term Term Term Term Term Term Term Term Term Term
+ other mechanisms
5
– maximum “length” of terms
– nested constructor application
– build equivalence classes
6
– limit the preceding levels
– limit Cartesian product – pair-wise testing
– enforce context conditions
7
generation
8
System Under Test
9
Stage A:
10
Stage B:
11
– run two or more against one another – if the outputs are different, something has to be wrong – in our case: different XML Validators ∗ using Microsoft .NET API ∗ Sun Multi-Schema XML Validator (JAXB) ∗ Ant Validation Task (JBind)
12
grammar terms Tree Nil = Nil Node-1(Nil,Nil) | Node(Tree,Tree) ... ; Terms as objects Constructors of all sorts +Serialisation
13
14
– (as a whole)
15
The buzzwords are:
16