2017 © Pedro Peláez
 

library mailhog-testcase

A simple testcase for testing mail in Laravel using Mailhog.

image

siegerhansma/mailhog-testcase

A simple testcase for testing mail in Laravel using Mailhog.

  • Monday, June 20, 2016
  • by siegerhansma
  • Repository
  • 1 Watchers
  • 1 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Mailhog Testcase for Laravel

A simple testcase for using Mailhog with Laravel., (*1)

Installation

Usage

Instead of extending the normal TestCase in your testclasses, now extend SiegerHansma\MailhogTestcase\MailhogTestcase. The MailhogTestcase class itself extends the base Laravel TestCase so you can still use all the methods that Laravel provides., (*2)

class RegisterTest extends MailhogTestCase

Configuration

Mailhog running on another port? We've got you covered. Simply add a mailhogBasepath property to your test class, like so., (*3)

    protected $mailhogBasepath = 'http://localhost:12345';

    class RegisterTest extends MailhogTestCase {

API overview

Still todo. The main Testcase is already documented., (*4)

The Versions

20/06 2016

dev-master

9999999-dev

A simple testcase for testing mail in Laravel using Mailhog.

  Sources   Download

The Requires

 

by Sieger Hansma