TODO Workshop design
Trebuchet
“The Trebuchet” is the working-title of Mutation testing tool for Castle; to be written in castle.
The (first) ideas is to not modify the code-files (as many tools do), but to read those files into parse-tre (or in an ATS) and modify that one. It should execute (much) faster, but more important: I hate it when tools change my files – and my editor doesn’t like it either
Tip
For MutationTestTool builders:
Plz do not, never, touch the files!
Make a virtual, “ram-based” temp-disk, copy all files to there and modify & test there. It also a lot faster!
Simulation/Verification (todo)
To prevent A Heisenbug in the Sieve, Castle should come with a tools to
See also “Verum’s Dezyne” has such a tool |
FSM details to remember
When implementing a FSM (Rewriters (TODO)) actions and state-updates need to be in the right order; actions come before state-updates. When using “More & Mealy” actions, and/or hierarchically FSM’s it become a bit more complicated. But order is clearly described and easy.. |
Note
For NFA’s this is even more complicated. The order is clear, but as a NFA has to be rewritten in a DFA, we have to be extra carefull to keep the same order.
Probably, this is not even possible in general. When possible, the “compiler” should do it. When not, it should give a warning (or error, on request) and use an heuristic.
Comments
comments powered by Disqus