respect-validation/tests/integration
Henrique Moody 8a7bc1ab7a
Improve readability of integration tests
The integration tests use the same pattern to test exception messages.
With my changes, we won't validate which exception we throw in those
tests, but matching the message is enough. I created three functions to
replace most of those tests.

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2023-04-01 07:40:42 +02:00
..
lib Improve readability of integration tests 2023-04-01 07:40:42 +02:00
readme Update version of PHPUnit package 2020-08-26 09:47:59 +02:00
rules Improve readability of integration tests 2023-04-01 07:40:42 +02:00
assert-with-attributes.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
assert-with-keys.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
do_not_rely_on_nested_validation_exception_interface_for_check.phpt Apply "SlevomatCodingStandard.TypeHints.DeclareStrictTypes" 2019-02-09 14:11:12 +01:00
get_full_message_should_include_all_validation_messages_in_a_chain.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
get_messages.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
get_messages_should_include_all_validation_messages_in_a_chain.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
get_messages_with_replacements.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
issue-179.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
issue-425.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
issue-446.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
issue-619.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
issue-727.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
issue-739.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
issue-796.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
issue-799.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
issue-805.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
issue-1033.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
issue-1244.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
issue-1289.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
issue-1348.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
issue-1376.phpt Add a test/example of how to explore the exception tree 2023-02-19 00:19:10 -03:00
keys_as_validator_names.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
not_should_work_by_builder.phpt Apply "SlevomatCodingStandard.TypeHints.DeclareStrictTypes" 2019-02-09 14:11:12 +01:00
not_with_recursion.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
not_without_recursion.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
set_template_with_multiple_validators_should_use_template_as_full_message.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
set_template_with_multiple_validators_should_use_template_as_main_message.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
set_template_with_single_validator_should_use_template_as_main_message.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
should_not_overwrite_defined_names.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
translator-assert.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00
translator-check.phpt Improve readability of integration tests 2023-04-01 07:40:42 +02:00