Vahid Azamtarrahian
Testing individual units of souce code (in as much isolation as possible)
Testing the code together to make sure it's working as it should
Mailtrap
MAIL_DRIVER=smtp MAIL_HOST=mailtrap.io MAIL_PORT=2525 MAIL_USERNAME= MAIL_PASSWORD= MAIL_API_KEY= MAIL_INBOX_ID=
Mailcatcher
sudo apt-get install ruby-dev gem install mailcatcher
Mail Test Case
Authentication/Authorization Testing
$this->be()
$this->beRole()
$this->be()
$this->beRole()
Make sure to write the positive and negative assertion
Otherwise, you can load them all using 'Classmap'
Vahid Azamtarrahian
@vahidazam
azamtav