Kevin Bond
Kevin Bond
Brainstorm of possible improvements to `IO`: 1. `IO::cursor(): Cursor` (or some kind of wrapper to help with cursor adjustments in a fluid way) 2. `IO::color(): Color` 3. `IO::createSection(): ConsoleSectionOutput` 4....
- show how to instantiate TestCommand (standalone/symfony) - single api docs
I've created a new [zenstruck/assert-html](https://github.com/zenstruck/assert-html) package which is like a plugin for this library to make html assertions. ~I've extracted this code from zenstruck/browser and will create a followup PR...
Per a slack discussion with @nikophil. ```php Assert::that('[4, 5, 6]') ->isJson() // json_decode's the current value and starts a new expectation with this ->contains(5) ; Assert::that('5') ->isJson() ->is(5) ->isGreaterThan(4) ;...
Adds fluent email html assertions: ```php $this->mailer()->sentEmails()->last() ->html() ->containsIn('h1', 'some title') ->containsIn('p', 'some text') ; ``` TODO: - [ ] use 1.0 zenstruck/assert-html
Would be nice to access the crawler and make assertions on the html: ```php $email->html()->crawler(); // Symfony\Component\DomCrawler\Crawler $email->html() // same assertion API as zenstruck/browser ->assertSee('some text') ->assertNotSee('some text') ->assertSeeIn('h1', 'some...
1. `TestMailer::dump/dd()`: ability to dump the sent emails to help debug problems. 2. `TestMailer` assertions should, as part of the failure message, output a summary of the emails sent if...
I believe requires #26.