-
-
Notifications
You must be signed in to change notification settings - Fork 772
Description
Feature summary
Add assertj-protobuf to assertj ecosystem. This would benefit Java developers having to work with Protobuf and develop GRPC services.
Assertj is largely similar to Google Truth's assertion library. One of the extensions Google Truth has that assertj does not have is for protobuf. See here.
Curiostack has forked Google Truth's protobuf library and adapted it for AssertJ. See here. Their library is under an MIT License. Unfortunately, that library is now abandonware, as the owners of the library are now a Go shop rather than a Java shop.
Is it possible for AssertJ to take over this fork? If so, should it be a separate module like assertj-vavr? Or should it live in the assertj / assertj repo like assertj-guava?
Example
The following would be useful for teams that have to develop Java protobuf services in multiple repositories.
MyProto expected = MyProto.newBuilder().addBar(3).addBar(5).setFoo("qux").build();
MyProto actual = MyProto.newBuilder().addBar(5).addBar(3).setFoo("quizzux").build();
assertThat(actual).ignoringRepeatedFieldOrder().isEqualTo(expected);Relates to: