Testing the configuration

Splash Forums Rewrite Users Testing the configuration


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

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


    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?



    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. πŸ™‚


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

The forum ‘Rewrite Users’ is closed to new topics and replies.

Comments are closed.