Android and Test Driven Development

Tutorials with advanced 'difficulty' and more Lines of Code.

Android and Test Driven Development

Postby dtmilano » Thu Jan 24, 2008 9:46 am

I've written an article that introduces Test Driven Development on the
Google Android platform. I took me some time to figure it all out and
it's not always clear where to find the correct documentation, answers
or resources, so I've done it hoping it be helpful for anyone taking
this approach (using eclipse, android, junit, positron, etc.)
Comments, corrections, improvements, critics are gladly welcome.

URL: http://dtmilano.blogspot.com/2008/01/te ... sting.html
dtmilano
Freshman
Freshman
 
Posts: 6
Joined: Thu Jan 24, 2008 9:40 am

Top

Postby Rakoun » Thu Jan 24, 2008 1:13 pm

Good idea, I will read your article and give you some feedback.

Rakoun
:!:
Pa konèt mové, dèyè do sé on péyi.
Rakoun
Freshman
Freshman
 
Posts: 7
Joined: Fri Jan 04, 2008 2:49 am
Location: Saint-François (Guadeloupe)

Postby dtmilano » Thu Jan 24, 2008 3:10 pm

Thanks. Feel free to give any feedback.

Rakoun wrote:Good idea, I will read your article and give you some feedback.

Rakoun
:!:
dtmilano
Freshman
Freshman
 
Posts: 6
Joined: Thu Jan 24, 2008 9:40 am

Postby tangoman » Thu Jan 24, 2008 7:40 pm

Nice tut!

Fernando.
tangoman
Freshman
Freshman
 
Posts: 7
Joined: Sun Jan 13, 2008 7:54 pm

Postby plusminus » Thu Jan 24, 2008 9:03 pm

Hello dtmilano,

nice tutorial :)

Couldn't read the full article, but is there a reason why you are using JUnit 3.x instead of JUnit 4 :?:

Best Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby dtmilano » Mon Jan 28, 2008 9:17 am

plusminus wrote:Hello dtmilano,

nice tutorial :)

Couldn't read the full article, but is there a reason why you are using JUnit 3.x instead of JUnit 4 :?:

Best Regards,
plusminus


Very good question indeed. To be sincere, I can't remember why :-[
There was some problem or incompatibility with JUnit 4, I will try to reproduce it.
dtmilano
Freshman
Freshman
 
Posts: 6
Joined: Thu Jan 24, 2008 9:40 am

Top

Postby shareme » Tue Nov 11, 2008 9:43 pm

That should mean that you could use TestNG as it spans both Junit3 and Junit4..
shareme
Junior Developer
Junior Developer
 
Posts: 19
Joined: Sun Nov 09, 2008 1:54 pm
Location: SE ChicagoLand

Postby jettimadhu » Sat Jan 02, 2010 12:16 pm

Nice tutorial. Can any one help how to perform test cases for onClickListener i.e; how to check that any view or button has been clicked, using Junit test cases.
jettimadhu
Junior Developer
Junior Developer
 
Posts: 17
Joined: Wed Sep 09, 2009 12:50 pm

Top

Return to Advanced Tutorials

Who is online

Users browsing this forum: No registered users and 5 guests