Test Attribute #3 – Speed

2 comments on “Test Attribute #3 – Speed”

  1. Anonymous Reply

    It’s easy to talk the talk.
    But do you walk the walk?

    How did/would you fix the example MSMQ ReceiveSentMessage test?

  2. Gil Zilberfeld Reply

    In this example, I’d have used mocking. Instead of waiting for the queue, immediately return.

    Also for the fact that the test would past most of the time, but not always, because of the async behavior. I’ll discuss it on a later post.

Leave A Reply

Your email address will not be published. Required fields are marked *