Kevin Bond

Results 134 issues of Kevin Bond
trafficstars

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....

enhancement

`make:rad-command`

enhancement

- show how to instantiate TestCommand (standalone/symfony) - single api docs

documentation

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...

enhancement

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) ;...

enhancement

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

enhancement

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...

enhancement

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...

enhancement