• 0

unit testing - confusion


Question

I'm confused about how to take on testing a software. I've googled and found unit testing is the first step.

 

http://stackoverflow.com/questions/2322521/how-to-unit-test

http://blog.stevensanderson.com/2009/08/24/writing-great-unit-tests-best-and-worst-practises/

http://wiki.developerforce.com/page/How_to_Write_Good_Unit_Tests

 

Basically snippets of codes tested separately, in my case would be classes. However, I'm not sure how to actually proceed. Is there a separate program that can test or should I write "test codes" as mentioned in the links?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

What software development tools do you use? Visual Studio, for example, has a unit testing framework built right into it.

Link to comment
Share on other sites

  • 0

What software development tools do you use? Visual Studio, for example, has a unit testing framework built right into it.

Netbeans. Software developed in java.

Link to comment
Share on other sites

  • 0

Netbeans. Software developed in java.

The testing framework you'll probably want to work with is JUnit. I found this tutorial for using JUnit with NetBeans:

https://netbeans.org/kb/docs/java/junit-intro.html

 

I can't answer Java specific questions, but if you have any general unit testing questions I can try answering them.

Link to comment
Share on other sites

  • 0

You should write tests that check that components you have written behave exactly as you want them to.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.