My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 62: Add support for Hamcrest and FEST-assert (update: also AssertJ)
1 person starred this issue and may be notified of changes. Back to list
 
Project Member Reported by kandpwel...@gmail.com, Jul 30, 2012
Not quite "functional" API, but these matcher frameworks could use something like this to produce Hamcrest Matcher or FEST Condition.  There was a project called Hamsandwich that attempted to do this for Hamcrest, but not as cleanly as I would like.  I'm not sure whether this should become a separate project altogether, but they would share a LOT in common -- almost everything. 
Nov 16, 2012
Project Member #1 kandpwel...@gmail.com
Just some additional notes about possible future direction of FEST work if I do it: 

FEST-Assert Condition is like a Predicate

Fest-Assert Properties may be compatible with the idea of Functions, although this may not be as straight forward.  Might need to create another Condition class that combines Properties-like behavior with Condition, in which case it might not even extend Properties (which seems centered around string-based reflection).

FEST-reflection Invoker is similar to a Function although their basic version of it is not parameterized by an input type.  But really this just extracts Java Methods without wrapping them as a functional wrapper -- probably not a good candidate
Jul 16, 2013
Project Member #2 kandpwel...@gmail.com
Should probably add the FEST-assert fork: AssertJ.  Talked with author, who is initially uninterested in Funcito-style API changes *within* AssertJ.  I could still decide whether it's worth it adding any of these as my own add-ons.  If it's worth doing, it may be worth doing as a separate project, so as not to dilute the purpose of Functo which is support for popular Functional APIs.
Summary: Add support for Hamcrest and FEST-assert (update: also AssertJ) (was: Add support for Hamcrest and FEST-assert)
Labels: -Priority-Medium Priority-Low
Nov 26, 2014
Project Member #3 kandpwel...@gmail.com
when looking at AssertJ, may also want to consider the 1.7 feature, type-safe Extractor:
http://joel-costigliola.github.io/assertj/assertj-core-news.html#assertj-core-1.7.0-type-safe-extracting


Powered by Google Project Hosting