Testing the configuration

Splash Forums Rewrite Users Testing the configuration

Tagged: 

This topic contains 2 replies, has 3 voices, and was last updated by  Lincoln Baxter III 2 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25418

    defuchs
    Participant

    With our old (and crappy) own system we were able to test things like this:

    is /someexample forwarded to /mypage.html?id=someexample

    which was pretty okay…

    Is there any way to make a unit-test or sth similar for my rewrite-rules?

    #25420

    Hey,

    there is no unit-test module for Rewrite or something like this. The recommended way of testing your configuration is to use Arquillian, which we also use for all the integration tests. This way you can test if your rules work correctly in a real container. If you never used Arquillian before, you should definitely have a look. 🙂

    Christian

    #25475
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Comments are closed.