• 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

Need help with TagUnit 0.9

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
After poring through the lean documentation and banging on the problem with a java hammer from all sides, I come to you for help.
In the examples in TagUnit 0.9, there are a few different test suites that run not only the case written into the parent directory index.jsp file, but also recursively run the cases in directories under that folder (referred to as User defined tag handler tests). Specifically the jstl-core and tagunit tests do this.
No matter what I do I cannot seem to recreate this behavior on my own tests. Is there a better description of how to tell the framework to run all the test jsp's in a directory recursively?
Thanks.
 
Sean Stephens
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And the answer can be found in section 6.1.1.3 of the docs, however it only seems to appear AFTER you've already made a plea for help.
The answer is that any user defined tests that must be run need to be placed in a subdirectory with the same name as the Tag name. When that is done, all is happy with the world.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic