Monday, June 27, 2011

Unit Testing and NB Android and ADT

"In computer programming, unit testing is a method by which individual units of source code are tested to determine if they are fit for use. A unit is the smallest testable part of an application. In procedural programming a unit may be an individual function or procedure. In object-oriented programming a unit is usually a method.[citation needed] Unit tests are created by programmers or occasionally by white box testers during the development process." [http://en.wikipedia.org/wiki/Unit_testing]

So given that clear definition can I call unit testing a method testing now? For C# you can use NUnit [nunit.org] and JUnit for Java [junit.org]. Basically you just need to mock out your environment (easier to said than done for large existing projects without unit test).

Dummy Guide to NetBeans Android Development

If you want to write Android applications with NetBeans IDE, a dummy guide was written here >> to get you started. You can also see an introduction to Android plugins for NetBeans IDE at Project Kenai here >>.

ADT Plugin for Eclipse

"Developing in Eclipse with ADT is highly recommended and is the fastest way to get started. With the guided project setup it provides, as well as tools integration, custom XML editors, and debug ouput pane, ADT gives you an incredible boost in developing Android applications."

You can see the documentation for Android plugins for eclipse at Android developers website. That's all for now. Enjoy hacking :)

See also:
Eclipse vs NetBeans IDE for PHP Development

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.