Skip to content

Conversation

@liorchamla
Copy link
Owner

I felt there was no solution to see why a form would fail or not while testing a POST or a PUT Request, and I also wanted to test validation in a functional way (in a sense that it was a controller TestCase, not a simple entity validation test).

So I made this up : we use the profiler before the POST / PUT request, so after the request we can use informations collected by the validator component to assert anything we want about violations :)

Let me know what you think about that :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants