Missing tests
TavoNiievez opened this issue · comments
Good. Once it is merged we should have corresponding tests in symfony-demo
Originally posted by @DavertMik in #50 (comment)
Due to the current test coverage of the module and the time it would take to correct compatibility issues in current test projects, I decided to create a new test project with 3 branches:
main
, for the latest version of Symfony (5.2)4.4
, for the latest LTS and,3.4
for the oldest LTS.
Click to see progress on Symfony 5.2
- amLoggedInAs
- amOnAction
- amOnRoute
- dontSeeAuthentication
- dontSeeEmailIsSent
- dontSeeFormErrors
- grabParameter
- grabRepository
- grabService
- logout
- runSymfonyConsoleCommand
- seeAuthentication
- seeCurrentActionIs
- seeCurrentRouteIs
- seeEmailIsSent
- seeFormErrorMessage
- seeFormHasErrors
- seeInCurrentRoute
- seeInSession
- seeNumRecords
- seePageIsAvailable
- seePageRedirectsTo
- seeUserHasRole
- seeUserPasswordDoesNotNeedRehash
- submitSymfonyForm
Click to see progress on Symfony 4.4
- amLoggedInAs
- amOnAction
- amOnRoute
- dontSeeAuthentication
- dontSeeEmailIsSent
- dontSeeFormErrors
- grabParameter
- grabRepository
- grabService
- logout
- runSymfonyConsoleCommand
- seeAuthentication
- seeCurrentActionIs
- seeCurrentRouteIs
- seeEmailIsSent
- seeFormErrorMessage
- seeFormHasErrors
- seeInCurrentRoute
- seeInSession
- seeNumRecords
- seePageIsAvailable
- seePageRedirectsTo
- seeUserHasRole
- seeUserPasswordDoesNotNeedRehash
- submitSymfonyForm
Click to see progress on Symfony 3.4
- amLoggedInAs
- amOnAction
- amOnRoute
- dontSeeAuthentication
- dontSeeEmailIsSent
- dontSeeFormErrors
- grabParameter
- grabRepository
- grabService
- logout
- runSymfonyConsoleCommand
- seeAuthentication
- seeCurrentActionIs
- seeCurrentRouteIs
- seeEmailIsSent
- seeFormErrorMessage
- seeFormHasErrors
- seeInCurrentRoute
- seeInSession
- seeNumRecords
- seePageIsAvailable
- seePageRedirectsTo
- seeUserHasRole
- seeUserPasswordDoesNotNeedRehash
- submitSymfonyForm
This new test project serves as a replacement for:
[Naktibalda/codeception-symfony-tests] [Codeception/symfony-demo].
I feel quite comfortable with the current test coverage. Some Symfony 3.4 methods require extra attention like SwiftMailer email, but anyone who does actively use that version of symfony can contribute them. So, for my part this is ready to go.