Grails - redirect() with params in integration tests?

I would recommend testing the controller via a unit test that extends ControllerUnitTestCase. That gives you a very clean way to test your call to redirect(). For example: assertEquals("login", redirectArgs.

Action) assertNotNull(redirectArgs.params. Username) Test as much as reasonable via unit tests (especially the flow logic in controller actions), and use integration tests just to make sure everything plays nicely together and to verify the system state.

Thanks you. I actually found wrong information on this 'redirectArgs' object, and was not using it properly. – Euloiix Sep 2 at 12:02.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions