Skip to content

Conversation

@TavoNiievez
Copy link
Member

@TavoNiievez TavoNiievez commented Jun 20, 2021

New assertions:

  • assertEmailAddressContains
  • assertEmailAttachmentCount
  • assertEmailHasHeader
  • assertEmailHeaderNotSame
  • assertEmailHeaderSame
  • assertEmailHtmlBodyContains
  • assertEmailHtmlBodyNotContains
  • assertEmailNotHasHeader
  • assertEmailTextBodyContains
  • assertEmailTextBodyNotContains

All of them were already available in symfony/framework-bundle, however, until now it was not possible to use them with the '$I->assert...' syntax.

Since they are intended (but not limited) to be used in unit tests, the 'assert' prefix is ​​kept.

  • Documentation remains to be done.
  • Add code examples

@TavoNiievez TavoNiievez marked this pull request as ready for review July 7, 2021 00:15
@TavoNiievez TavoNiievez added this to the 2.0.4 milestone Jul 7, 2021
@TavoNiievez TavoNiievez merged commit 3e43a76 into Codeception:main Jul 7, 2021
@TavoNiievez TavoNiievez modified the milestones: 2.0.4, 2.0.5 Jul 7, 2021
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