loading...

re: Top 10 Java Automation Test Frameworks and Libraries You Can Learn in 2020 VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Hey, no, Hamcrest is a Matcher Library, AssertJ is an assertion Library, that actually supports Hamcrest matchers and I’m using them as well. It’...

Ah I see, I am sure going to try that on my unit tests now. How about mocking, do you use Mockito or PowerMock? I am a big mockito fan but I always stuck with mocking static fields like Logger in some Java classes.

Definitely Mockito. If you need to use PowerMock you’re probably doing something wrong. Why would you ever need to mock the logger?

code of conduct - report abuse