Low level test code / library bleeding edge

From CitconWiki
Revision as of 07:31, 28 September 2013 by Adinnaplus (talk | contribs) (Created page with "'''Assertions''' - how to deal with similar assertions easily, e.g in a e-commerce application, Assert.Order(coupon).hasCoupon and Assert.NotOrder(coupon).hasCoupon? -- hamcr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Assertions - how to deal with similar assertions easily, e.g in a e-commerce application, Assert.Order(coupon).hasCoupon and Assert.NotOrder(coupon).hasCoupon?

-- hamcrest: https://code.google.com/p/hamcrest/wiki/Tutorial --- you can create your custom matchers and submatchers --- explicit errors

-- fest: http://thomassundberg.wordpress.com/2011/04/24/fest-assert-a-fluent-interface-for-assertions/

-- ravenDB http://ravendb.net/docs/intro/ravendb-in-a-nutshell --- scenarios


Preconditions:

- guava: in java


Property based testing: random input generator which is restricted. No more repetability of tests

- point to start learning about it: http://www.natpryce.com


Biere Armin