This will ultimately allow me to write example tests for the Calculate and Terminal activity, as suggested by Grig. Those will be the first real test of sugarbot.
I've also been toying with the idea of using the Python interpreter to do the bulk of the parsing work for me. It would require some restructuring, but would ultimately be the most flexible. For example, I can think of many instances where it would be very beneficial to implement complex logic into an automated GUI test. However, re-inventing the proverbial wheel (Python interpreter) seems rather non-trivial :-). [Update: Note that I don't intend to to make my own interpreter, but rather make the current code use the interpreter]
However, I still have to tackle the issue of automatically launching sugarbot in the first place.
1 comment:
"""
I can think of many instances where it would be very beneficial to implement complex logic into an automated GUI test.
"""
Avoid doing this. Keep your tests simple and straightforward and then you won't have to do much testing of your tests (which you must admit sort of defeats the point of testing in the first place :)
Post a Comment