• 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

Testing Javascript using Symfony CLI tasks (lime)

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Dear Christian

I am starting a project using the symfony framework with YUI. Symfony has it's own built-in unit/functional testing facility (lime). Are you familiar with symfony's lime-based testing and, if so, could you say whether this would be the best tool to use to test my javascript? Or, could you recommend another testing tool that will work with symfony and allow javascript testing?

It's all new to me, so I'm having to learn every step before I take it, so I'm asking for advice wherever I can get it! I really want to give test-driven development a try, but I'm finding it hard to think of the tests!

Thanks

Tocacar

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

I'm not intimately familiar with Symfony and Lime, but as far as I can tell, Lime is a unit testing framework for PHP. In other words, it is probably not the right tool for the job of testing JavaScript, you need a JavaScript unit testing framework for that. Here are some suggestions:

  • QUnit
  • YUI Test
  • Jasmine
  • JSpec
  • JsTestDriver
  •  
    Toca Car
    Greenhorn
    Posts: 4
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Thanks Christian, I'll take a look at your suggestions (starting with YUI Test probably, which I didn't know existed!).
     
    reply
      Bookmark Topic Watch Topic
    • New Topic