[Chandler-dev] Script-recording/playback as test framework
John Anderson
john at osafoundation.org
Tue Dec 26 18:01:00 PST 2006
>> So there shouldn't be any api learning for people writing tests,
>> because writing tests shouldn't require any code writing. The
>> script recorder will output a test a file with a "run" method that
>> contains everything needed to run the test.
>
> How are you supposed to verify the data without writing code? And
> you said '"run" method' -- what class is that method defined on? If
> you're spitting out a script anyway, it's just as easy to stick in
> the class definition and "def runTest(self)".
We can compare the state of the UI and data to their values when the
script is recorded.
Currently run is a function, not a method on a class, however it
doesn't matter too much how we invoke the scripts.
John
More information about the chandler-dev
mailing list