Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Testing Javascript using Symfony CLI tasks (lime)

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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
  • 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
    • 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!).
     
      Bookmark Topic Watch Topic
    • New Topic