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

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
     
    Always look on the bright side of life. At least this ad is really tiny:
    Gift giving made easy with the permaculture playing cards
    https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
    reply
      Bookmark Topic Watch Topic
    • New Topic