Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Junit - Need to know Best Practice  RSS feed

 
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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!