Fit for Developing Software: Framework for Integrated Tests

6.4. Exercises

1.

Using tables like those in Section 6.1, write a test that checks that there are no new rooms and no occupants when the chat server first starts.

2.

Now write a test that checks that there are still no occupants of any rooms after anna has connected.

3.

Write tests to confirm that only the user who creates a room may delete it. You will need to invent a new named button to press.

    Категории