Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Junit - Need to know Best Practice

 
Praveen Chadichal
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it a good practice to use ".anyTimes()" instead of the "times()" for the Junit test methods. If yes/no please provide me the link that confirms this practice.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is a good practice where it makes sense, not so good where it doesn't.

What would a link give you? Why do you ask at all?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic