Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Refactor most unit tests using Expect() makes them clearer, simpler and more reliable. #15

Merged
merged 1 commit into from

2 participants

@wernight

Using Expect() makes them clearer, simpler and more reliable.

@wernight wernight Refactor most unit test.
Using Expect() makes them clearer, simpler and more reliable.
9758c38
@wernight

I would suggest that the unit tests get grouped in various classes and even unit test being regrouped. I've regrouped a few using multiple Expect(() => ..., Throws...) and also regrouped one using [Values()] notation.

@adrianaisemberg

I must admit that this Expect() thing is new to me. I'm still doing the same unit tests as learned years ago and never had the chance to move forward to a newer syntax.
I love it.

Thanks!

@wernight

Cheers.

@adrianaisemberg adrianaisemberg merged commit 9758c38 into adrianaisemberg:master
@adrianaisemberg

Merged locally. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 2, 2012
  1. @wernight

    Refactor most unit test.

    wernight authored
    Using Expect() makes them clearer, simpler and more reliable.
Something went wrong with that request. Please try again.