alexruiz / fest-assert-1.x

FEST Fluent Assertions
http://fest.easytesting.org
Apache License 2.0
14 stars 8 forks source link

Assert of optionals #6

Open danon opened 5 years ago

danon commented 5 years ago
// when
Optional<String> optional = get();

// then
assertThat(optional).isPresent();

We could really, really use this

jschneider commented 5 years ago

I think fest-assert is no longer developed. Take a look at http://joel-costigliola.github.io/assertj/ which is the successor

danon commented 5 years ago

Man! Thank your for your supersonic response!

Is this the same library continued? Or is this written again completely from scratch?

jschneider commented 5 years ago

I am not too sure. But I strongly suggest to convert asap. It is worth it. Most ideas are the same. So it shouldn't be too much work:

http://joel-costigliola.github.io/assertj/assertj-core-migrating-from-fest.html