jetcd icon indicating copy to clipboard operation
jetcd copied to clipboard

Cleanup Tests: Removing AssertJ dependency

Open OwlHaus opened this issue 8 years ago • 3 comments

There seems to be no particular reason to use AssertJ, as anything achieved with this can also be achieved with vanilla JUnit, as such I feel it useful in the long run to remove unnecessary dependencies, namely this one.

Related to #309

OwlHaus avatar Nov 27 '18 16:11 OwlHaus

Yes everything can be done using pure JUnit but we decided to standardize to assertj as it ease writing some assertions.

lburgazzoli avatar Nov 27 '18 16:11 lburgazzoli

Personally I prefer G's Truth over AssertJ nowadays.

vorburger avatar Nov 27 '18 18:11 vorburger

We can discusd this later but there’s no substantial difference - at least not that I’m aware of - that would justify the switch so for the moment I would focus on getting rid of testng.

On Tue, 27 Nov 2018 at 18:19, Michael Vorburger ⛑️ [email protected] wrote:

Personally I prefer G's Truth https://github.com/google/truth over AssertJ nowadays.

— You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub https://github.com/etcd-io/jetcd/issues/454#issuecomment-442162922, or mute the thread https://github.com/notifications/unsubscribe-auth/AByEhcfM__J3ACtU9uZEAiOABGBgk0_fks5uzYIUgaJpZM4Y13hM .

--

Luca Burgazzoli

lburgazzoli avatar Nov 27 '18 18:11 lburgazzoli