You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

laravel-elixir-codeception

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

laravel-elixir-codeception

Laravel Elixir wrapper around Codeception Gulp task.

0.2.0
latest
Source
npmnpm
Version published
Weekly downloads
21
110%
Maintainers
1
Weekly downloads
 
Created
Source

Usage

This is a simple Codeception wrapper around Laravel Elixir. Add it to your Elixir-enhanced Gulpfile, like so:

var elixir = require('laravel-elixir');

require('laravel-elixir-codeception');

elixir(function(mix) {
   mix.codeception();
});

This will scan your ./tests/ directory, as well as any PHP classes in your 'app' folder for changes, and trigger your Codeception suite.

You may pass two arguments to the codeception() method.

baseDir

Defaulting to './tests', this argument specifies the root directory to search for Codeception-specific tests.

options

If you need to pass any Codeception-specific options, then you may pass an object as the second argument, like so:

mix.codeception(null, { flags: '--report' });

Or, maybe you only want to trigger your "functional" suite.

mix.codeception(null, { testSuite: 'functional' });

Keywords

gulp

FAQs

Package last updated on 29 Aug 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts