SDA SE Wiki

Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering

User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

research:jtransformer:trash:howwewritetests [2018/05/09 01:59] (current)
Line 1: Line 1:
 +//The following represents my(==ld) recollection of the proceedings we agreed on, during our meeting Tue, May 4th 2004.
 +Items in italic indicate assumptions and additions i made myself//​\\ ​
 +=====  Please correct, annotate, comment, whatever. =====
 +\\ 
 +
 +
 +
 +
 +==== "​Schedule"​ ====
 +
 +  -explore how the eclipse folks do their compiler/​ast testing.
 +  -try to adopt as much of their code/​experience to JTransformer2 as possible. In particular:
 +    -evaluate **their** coverage of the JAVA language (compiler tests)
 +    -evaluate **their** test code/​examples modularizable?​ ("We want small, managable Code snippets!"​)
 +    -can we reuse their Testbed?
 +      -//proove it by implementing a small example//
 +  -//wait for possible structural changes in the PAST design//
 +  -use code examples from the eclipse test suits to implement **110%** (language-wise) test coverage of the fact generation process (i.e. [[factgenerator|factgenerator]],​ IDResolver and friends)
 +  -adopt our old tests where applicable
 +    -in particular tests on detail problems, e.g. String literals, ...
 +    -**GET RID OF (the old) ''​[[testbed|testbed]]''​**
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +==== How and What do we test ====
 +
 +  *//Tests should be fast, otherwise they will not be run.//
 +    *-->try to disable platform ui! (should be result of the findings above)
 +  *//We do not test implementation but results//
 +  *For a given code snipped, we assume a priory knowledge of the **complete** and correct output generated by our  system, so we can //(and should!)// do barely more than string comparisson.
 +  *//We test with "​everything ON"//
 +    * in particulary,​ we do **not** disable ''​slT''​-facts during testing.
 +  *//we try to establish and maintain comman structures and methods//​(t.b.c.)
 +
 +
 +
  
research/jtransformer/trash/howwewritetests.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2019