Difference between revisions of "Low level test code / library bleeding edge"

From CitconWiki
Jump to navigationJump to search
(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...")
(No difference)

Revision as of 07:31, 28 September 2013

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