FriendlyContexts icon indicating copy to clipboard operation
FriendlyContexts copied to clipboard

SymfonyMailerContext

Open umpirsky opened this issue 11 years ago • 11 comments
trafficstars

  • [x] @Then no email should have been sent
  • [x] @Then email with subject :subject should not be sent
  • [x] @Then email should not be sent to :recipient
  • [x] @Then email with subject :subject should not be sent to :recipient
  • [x] @Then the following emails should not be sent:
  • [x] @Then :count emails should have been sent
  • [x] @Then email with subject :subject should have been sent
  • [x] @Then email should have been sent to :recipient
  • [x] @Then email with subject :subject should have been sent to :recipient
  • [x] @Then the following emails should have been sent:

umpirsky avatar Oct 25 '14 16:10 umpirsky

@PedroTroller I would like to add context class and write scenarios. But I am afraid I will need almost full symfony app, with container, kernel and everything. What do you think?

umpirsky avatar Oct 25 '14 16:10 umpirsky

I think we need somthink like the fixture APP into KnpRevealsBundle : https://github.com/KnpLabs/KnpRevealBundle/tree/master/features/fixtures By the way, I need it too to test the entity part.

PedroTroller avatar Oct 27 '14 08:10 PedroTroller

:+1:

aitboudad avatar Oct 28 '14 17:10 aitboudad

What's about when sending an email and then immediately redirecting to another page ?? Using MinkRedirectContext is an alternative but I guess you have another better solution :)

aitboudad avatar Oct 28 '14 20:10 aitboudad

@aitboudad Yes. I also submitted some improvements in https://github.com/Behat/CommonContexts/pull/54 but they never merge.

umpirsky avatar Oct 28 '14 21:10 umpirsky

@PedroTroller Feedback is appreciated.

umpirsky avatar Dec 19 '14 11:12 umpirsky

@umpirsky could you add a little bit of docs? Then we can merge it - personally I like it.

akovalyov avatar Mar 16 '15 11:03 akovalyov

@akovalyov I was waiting for some @PedroTroller feedback.

umpirsky avatar Mar 16 '15 11:03 umpirsky

@PedroTroller could you give any feedback on this cool work? :)

akovalyov avatar Mar 16 '15 11:03 akovalyov

+1

cursedcoder avatar May 21 '15 18:05 cursedcoder

Is this still up to date?

einenlum avatar Mar 27 '17 16:03 einenlum