My favorites | Sign in
Project Home Downloads Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 20: Build assertThat( ... ) ala Hamcrest
1 person starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  virtix
Closed:  Jun 2010
Cc:  marc.es...@gmail.com


 
Project Member Reported by virtix, Oct 16, 2007
Nice to have!

assertThat(something, eq("Hello"));
assertThat(something, eq(true));
assertThat(something, isA(Color.class));
assertThat(something, contains("World"));
assertThat(something, same(Food.CHEESE));
assertThat(something, NULL);
assertThat(something, NOT_NULL);
Maybe implement assumptions and theories


@see
http://junit.sourceforge.net/doc/ReleaseNotes4.4.html
http://joe.truemesh.com/blog/000511.html
Hamcrest: https://code.google.com/p/hamcrest/wiki/Tutorial



 
Oct 26, 2007
Project Member #1 virtix
Working with implementing decorator pattern to implement hamcrest interface ...
Cc: -v.rajkumar -AnodynePres
Dec 14, 2007
Project Member #2 virtix
Just playing around with it and it looks feasible. Was able to proove that something
like this is possible w/CF assertThat("this string", isEqualTo("this string") ).
Thinking about the concept of "Descriptive Testing" ... expressive unit testing that
serves also as a design intent artifact. Sounds heretical coming from a uml weanie ;-)
Jan 24, 2008
Project Member #3 virtix
Deferring this ...
Labels: -Priority-Medium Priority-Low
Jun 30, 2010
Project Member #4 virtix
(No comment was entered for this change.)
Status: WontFix

Powered by Google Project Hosting