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

Merged
merged 1 commit into from Oct 21, 2013

Conversation

Projects
None yet
2 participants
Contributor

wernight commented May 2, 2012

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

Refactor most unit test.
Using Expect() makes them clearer, simpler and more reliable.
Contributor

wernight commented May 2, 2012

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.

Owner

adrianaisemberg commented May 2, 2012

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!

Contributor

wernight commented May 2, 2012

Cheers.

@adrianaisemberg adrianaisemberg merged commit 9758c38 into adrianaisemberg:master Oct 21, 2013

Owner

adrianaisemberg commented Oct 21, 2013

Merged locally. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment