/** * Tests Bug 57: when you are actively involved with a conversation, the * new responses aren't accounted for as read in the list view. */ @Test public void TestBug57() { openCommYou(Mark); // Start the conversation... int convId = startGenericConversation(Mark); checkOpenGenericConversation(Mark, convId); // ... respond to it several times... addGenericResponse(Mark, convId); addGenericResponse(Mark, convId); addGenericResponse(Mark, convId); // ... and go back to the summary view. It *should* show as completely // caught up. The bug was that it wasn't doing so. goToSummary(Mark); refreshConversationList(Mark); assertNoNewResponses(Mark, convId); }You can kind of figure out what that's doing even if you don't know the system, and it's wholly obvious if you do. The comments are almost redundant. *That* is what a really good test should look like in my book: clear, concise, and trivially easy to write new one...
*That* is why I spend so much time writing the test harness
-
The Third Way: Beyond Fun and Authenticity
I just came across this marvelous essay on the SCA fun/authenticity false dichotomy, and a different way of looking at it. It was written some…
-
How I Spent My Birthday
(Warning: diary ramble ahead.) Intercon was scheduled a couple of weeks earlier than usual this year -- our experimental hotel last year wasn't…
-
Hamilton Sing-Along
Almost done with a *very* long weekend at Arisia. Generally been a great time -- worked hard, got to spend lots of time with friends, and have had a…
- Post a new comment
- 4 comments
- Post a new comment
- 4 comments