• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Object Oriented Testing

 
Ranch Hand
Posts: 35
Mac OS X Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello java ranchers

I have an assignment about OO Testing and I would love to know about the following:

I'm looking for OO testing tools, so far I have found JUnit, Mockito and TestNg. Are these tools right for what I'm looking for? I have to say again that I'm looking specifically for OO testing and not generic testing. Do you have any other suggestions for tools?

Also I would like some advices about the testing data, should I make the data or some book examples would be a better idea?

Any other suggestions would be more than helpful!
 
author & internet detective
Posts: 42134
937
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is OO testing? Is it just testing objects in Java or does it have some other meaning?

JUnit and TestNG are frameworks for unit testing. Mockito is a tool used with JUnit or TestNG to replace calls to other objects/resources.
 
michael delta
Ranch Hand
Posts: 35
Mac OS X Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, as far as I know OO testing is nothing more than testing in OO environments. It's a way to make clear that the testing is not meant for a traditional procedural language.

So, yes as you said it's just testing objects in Java.
 
Jeanne Boyarsky
author & internet detective
Posts: 42134
937
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok. Then the tools you mention are good. (pick one between JUnit and TestNG.) "Test Driven" and "JUnit in Action" are good books for getting started.
 
michael delta
Ranch Hand
Posts: 35
Mac OS X Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually I have to make a comparison, so I have to use at least these two. Thank you for your help!
 
Jeanne Boyarsky
author & internet detective
Posts: 42134
937
Eclipse IDE VI Editor Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I missed the "assignment" part. You'd be comparing JUnit vs TestNG for a testing framework. And Mockito vs jMock vs easyMock for a mock objects framework.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic