• Post Reply Bookmark Topic Watch Topic
  • New Topic

JUnit Classes quesition?  RSS feed

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,I'm new to JUnit Framework and I would like to ask few questions:
why TestCase and TestSuite need to implement the same interface Test?
why TestCase and BaseTestRunner need to implement the same interface TestResult?
 
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
These are matters of JUnit's internal implementation. The developers wanted to have these abstractions and they probably had their reasons. As an "end user" (in this case, a programmer writing unit tests with JUnit), you don't need to worry about those abstractions.
 
Forget this weirdo. You guys wanna see something really neat? I just have to take off my shoe .... (hint: it's a tiny ad)
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
https://coderanch.com/t/690611/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!