Testing Files with Hamcrest
Testing File Attributes using Hamcrest
© time4tea technology ltd 2007 - Freely redistributable as long as source is acknowledgedComments ( Hide | Add Comment )
Anonymous says:Oct 16, 2009 08:32 ( Permalink | ) |
|
|
James Richardson says:Thanks for the feedback! No sorry - we don't use maven. We think its a bit rubbish. Please feel free to copy the source though. Its just one file. Cheers! James |
Anonymous says:It would be nice to see an overloaded version of sized(), not just public static Matcher<File> sized(final Matcher<Long> size) but public static Matcher<File> sized(final long size) too. The necessity to insert a Matcher is IMHO a bit restricting for normal usages. |
|
|
James Richardson says:I'm of course happy to add that - but it doesn't seem like a "stretch target" to pop in if you need it! James |
Anonymous says:You should get Nat to show you the new version of Hamcrest with mismatch descriptions. |
|
|
James Richardson says:Hi Steve - Will do - JUnit & Hamcrest weren't happy together for a while , but I hear they are now reconciled. |
Is this available in a maven artifact? I'd like to use this class, but without copying the source into my project.
Thanks for creating this great stuff.
Best regards,
Kees van Dieren