You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by GitBox <gi...@apache.org> on 2020/04/27 14:44:55 UTC

[GitHub] [maven-site] elharo commented on a change in pull request #158: [ARCHETYPE-594] recommend Mockito

elharo commented on a change in pull request #158:
URL: https://github.com/apache/maven-site/pull/158#discussion_r415874640



##########
File path: content/apt/guides/development/guide-maven-development.apt
##########
@@ -56,6 +56,15 @@ Developing Maven
 
   You will find many unit tests. If at all possible, create or modify a unit test to demonstrate
   the problem, and then validate your fix.
+  
+  If you need to mock a class to write a test, use the Mockito framework.
+  Parts of the Maven codebse predate Mockito so you will encounter existing tests

Review comment:
       fixed




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org