• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Test Driven devlopment

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Christian,

Welcome to JavaRanch!!

We are starting a new development project with GWT. We are planning to follow agile methodology such as Scrum, Pair programming and test driven development. We are in the process of defining testing strategy for our project.

Will your book be useful for us in defining this? If yes, can you tell me briefly how?. Thanks.

Regards,
Abhijith
 
author
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Abhijith,

I have to be honest and say I'm not entirely sure. I have not used GWT personally, but as far as I understand, it is a framework where you write Java which is in turn compiled into JavaScript. My book deals with working directly with JavaScript, and I'm not even sure if you ever do that with GWT.
 
Abhijith Prabhakar
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the honest reply..will be interesting to read your book though
 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can say that maybe it is useful to use a javascript testing tool with GWT.

But it doesn't make sense to test the code generated by the GWT. You have no control of it.
Maybe your own extensions testing would be nice to do.

I never went that far with GWT.
 
Filipi Zimermann
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe Selenium (http://seleniumhq.org/) might be a nice tool for you.
Not a javascript testing tool, but a client-side test automation that works with firefox and Google Chrome.

People are calling it BDD. Behavior Driven Development.
Very fun with some ruby tools
 
Christian Johansen
author
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Selenium is worth a shot for acceptance testing, but it is of little help (IMO) for more fine-grained functional or unit testing. If you write JavaScript on your own, I highly recommend you use a unit testing framework to test the code directly. As I've said a few times already, I currently prefer JsTestDriver (http://code.google.com/p/js-test-driver/), but there are lots of other tools. Some examples:

  • QUnit
  • YUI Test
  • Jasmine
  • JSpec

  •  
    Abhijith Prabhakar
    Ranch Hand
    Posts: 56
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Thanks for you suggestions!!

    We have started evaluating Selenium. We will also look into the other which you have mentioned. Thanks again
     
    Consider Paul's rocket mass heater.
    reply
      Bookmark Topic Watch Topic
    • New Topic