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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

GitBox

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



##########
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:
       typo codebase




----------------------------------------------------------------
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:
[hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]