• 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

Mixing Junit & Cactus tests - but wanting to run from client with minimal classpath

 
Ranch Hand
Posts: 38
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Howdy ranchers,
This is starting to do my head in - can anyone help me out please?
I am testing calls on an interface which can be called directly using a ****client.jar that we give out for use with this product.
This interface/jar however has limited functionality - so when it comes to doing some setUp() dataloading type stuff I go direct to the servers EJBs using cactus calls. So far so good.
However, I want to have this test my client jar aswell, so when I run my junit I don't want to include anything my classpath that the client shouldn't have (my core application for example)
So the suite is looking like

As the cactus tests are running in the container they will see the classpath on the AS surely, so what is junit complaining about ???

Any ideas or pointers appreciated - cheers
 
Marcus Howarth
Ranch Hand
Posts: 38
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Came back to it eventually - doesn't seem possible


Please note that the different options for configuring Cactus works both for Cactus client side (i.e. from where you start the JUnit Test Runner) and for the Cactus server side (i.e. from where you start your application server).


see http://jakarta.apache.org/cactus/integration/howto_config.html
never mind - onto plan B....
 
You ought to ventilate your mind and let the cobwebs out of it. Use this cup to catch the tiny ads:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic