Hi, OPS4J folks, I'm building up some tests using Pax Exam with Apache Camel in Apache Karaf. The basic form of each test is just "Make an HTTP request to a given URI with a Camel route behind it, then compare the response with a known-good answer."
I'd like to include my known-good answers as data files (they are RDF and have well-known serializations) instead of inline strings, but I'm not totally sure about the best way to do that. I've been tinkering with adding them to the source tree and using Bundle.getEntry() and so forth, but this seems rather fragile. Is there an accepted pattern for this use case, i.e. bringing data files along with the code for a test probe? I hope this is a reasonable question to ask this forum. Thanks for the excellent product that is Pax Exam. It's definitely the best way to do testing with Karaf! --- A. Soroka The University of Virginia Library -- -- ------------------ OPS4J - http://www.ops4j.org - ops4j@googlegroups.com --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.