urlrewritefilter icon indicating copy to clipboard operation
urlrewritefilter copied to clipboard

official urlrewritefilter-test artifact for junit testing purposes

Open GoogleCodeExporter opened this issue 10 years ago • 0 comments

I'm trying to do some basic tests on the rules in the urlrewritefilter. However 
what I would prefer is to do some junit tests prio to full deployment.
Therefor for the maven use case I'd like to be able to use artifact like this 
in my pom.xml:

<dependency>
    <groupId>org.tuckey</groupId>
    <artifactId>urlrewritefilter-test</artifactId>
    <version>4.0.4</version>
    <scope>test</scope>
</dependency>

which would be released in parallel to the official build.
And it would provide some simple api for testing custom configurations. 
(without a need to have full container running)

I got inspired by this post: 
http://sujitpal.blogspot.de/2006/08/junit-test-for-urlrewritefilter.html
However it's outdated (targeting version 3.x), as most of the classes are no 
more delivered with main jar file.

Would be nice if there would be also some documentation guiding to the usage 
(some wiki page or blog post).

As far as I could see, it should not be such a big thing, as junit tests 
already exist for urlwritefilter.

Original issue reported on code.google.com by [email protected] on 6 Feb 2013 at 10:18

GoogleCodeExporter avatar Jul 05 '15 22:07 GoogleCodeExporter