MoPub Banner

Smaato One More

Inmobi Again

...

MobFox Interstitial Ad

MoPub Full Screen Ad

Smaato Ad Unit

Tuesday, April 26, 2011



I would like to provide some information about the Automation frameworks / Unit testing frameworks for Android, iPhone, Blackberry, MeeGo and Phone 7 (WP7) ! (

Google Test

http://code.google.com/p/gtest-gbar/

Google Test is an excellent xUnit style c++ unit testing framework. It is highly recommended. One (minor) drawback of Google Test is it's text based UI, and this project attempts to help.

google Mock

http://code.google.com/p/googlemock/

Welcome to Google C++ Mocking Framework!

Inspired by jMock, EasyMock, and Hamcrest, and designed with C++'s specifics in mind, Google C++ Mocking Framework (or Google Mock for short) is a library for writing and using C++ mock classes. Google Mock:

lets you create mock classes trivially using simple macros,supports a rich set of matchers and actions,
handles unordered, partially ordered, or completely ordered expectations,is extensible by users, and
works on Linux, Mac OS X, Windows, Windows Mobile, minGW, and Symbian.

MockObjects

http://www.mockobjects.com/
About Mock Objects, a technique for improving the design of code within Test-Driven Development

OCUnit for iPhone

OCUnit : http://developer.apple.com/tools/unittest.html

Here's a common development scenario: You've just finished building your application. You're confident that it works. You've put it through the paces, exercising every feature and checking every output. You're proud to say that it's stable, at least for the moment. But when you think about the next feature you need to add, you can't deny that low-priority thread of fear running in the back of your mind: “If I change the code, what might break?” You could certainly try to manually test out all the features of your application after each change, but after the second time doing this you're sure to become bored and make a mistake. Ironically, you feel like you don't have time to test.

Windows Phone 7 UI Automation with Silverlight

http://archive.msdn.microsoft.com/silverlightut

The Silverlight Unit Test Framework is now part of the Silverlight Toolkit.

Where to find the test framework
The framework is installed when you use the Silverlight Toolkit. The Silverlight Toolkit team uses the test framework for all the unit tests that ship.

MeeGo

http://wiki.meego.com/Quality/Test_Suite_and_Tools

You have two ways to execute netbook test suites:
1. Recommend to execute tests on Web UI via Testkit manager:
Download and Install test packages in following section
Download and Install testkit packages (testkit-lite and testkit-manager), using webUI to select and start up your tests. See detail steps in Testkit Howto
2. You also could run tests on command line via testkit-lite:
Download and Install test packages in following section
Download and Install testkit-lite package, run "testkit-lite -M -f /usr/share/mnts-browser-tests/tests.xml". About more function, check "man testkit-lite"

and last but not the least :)

Robotium Automation Framework for Android

http://code.google.com/p/robotium/

Robotium is a test framework created to make it easy to write powerful and robust automatic black-box test cases for Android applications. With the support of Robotium, test case developers can write function, system and acceptance test scenarios, spanning multiple Android activities.

Robotium has full support for Activities, Dialogs, Toasts, Menus and Context Menus.

I had tried Robotium and Its working successfully in my local PC.

Any Questions, please get back to me on my personal ID : ravi.antone@gmail.com

2 comments:

  1. Brief about Mocking iPhone Unit Test : http://everburning.com/news/poking-objective-c-with-a-testing-stick/

    ReplyDelete
  2. Thanks for great information you write it very clean. I am very lucky to get this tips from you



    Claim Back PPI

    ReplyDelete