[squeak-dev] Continuous integration (was: All tests running green)

Matthew Fulmer tapplek at gmail.com
Sat Jul 26 19:32:19 UTC 2008


On Sat, Jul 26, 2008 at 06:30:46PM +0200, laurent laffont wrote:
>    1. some code run by the tests have syntax errors. (for example:
>    ChildrenToSiblingsTest>>#testModelChildrenToSibling). 

catch the error and do nothing? Here is the code:

[
    "some code"
] on: SyntaxErrorNotification do: [
    "nothing"
]

>    2. Some tests require user interaction with popups, ...  I want these
>    tests to generate an error when trying to open such dialogs, as unit tests
>    should never require user interaction. How can I do this ?

[] on: ProvideAnswerNotification do: [self error]

To see where those notifications are used, highlight
"ProvideAnswerNotification" and press Alt-Shift-N (find
references)

-- 
Matthew Fulmer -- http://mtfulmer.wordpress.com/



More information about the Squeak-dev mailing list