Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a new Trait which allows to deal with Validator Constraints #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

1 participant