aseba-community/aseba — Issue #42: Unity test: Simulate user's input
Author: vaussard
Created: 2011-10-20 09:35:09+00:00
State: open
Labels: Unity test

Often, the compiler crashes during an incomplete input, when the user is writing a line. This is not caught by the regular test suite, as only the final state is checked.

The idea would be to have a (let's say) Python script, taking a script as input and looping over each character, truncating the end and compiling. This will generate a lot of compilation, but will effectively simulate a user typing a new script. Should not be hard to do...