Giter Site home page Giter Site logo

laravel-elixir-codeception's People

Contributors

jeffreyway avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

laravel-elixir-codeception's Issues

Codeception watch task executes twice

I work alone on a project, where I'm doing both frontend and backend development.

I launch gulp as follow :

gulp watch tdd

I've noticed that whenever I modify a php class in the "app" directory, codeception tdd executes twice (which of course, leads to a whole lot of problems).
However, when I modify a test file, codeception tdd executes once, as expected.

I could track it down to this :

this.registerWatcher('codeception', [
    baseDir + '/**/*+(Test|Cept|Cest).php',
    'app/**/*.php'
], 'tdd');

If I change this by

this.registerWatcher('codeception', [
    'app/**/*.php'
], 'tdd');

this.registerWatcher('codeception', [
    baseDir + '/**/*+(Test|Cept|Cest).php'
], 'tdd');

Then everything happens as expected.

codeception is not a function

I've installed codeception using composer: Codeception version 2.1.5
I've installed laravel-elixir-codeception via npm
but adding mix.codeception() into gulpfile.js and running gulp watch gives the following error
TypeError: mix.codeception is not a function

Any idea about the cause ? I'm running Laravel 5.2 on Debian

Error on Windows

``
λ gulp codeception
[12:42:51] Using gulpfile C:\Repositories\tdd-examples\gulpfile.js
[12:42:51] Starting 'codeception'...

Fetching Codeception Source Files...

  • ./tests/codeception//*/+(Test|Cept|Cest).php

[12:42:51] Finished 'codeception' after 13 ms
[12:42:52] 'clear' is not recognized as an internal or external command,
operable program or batch file.

[12:42:52] gulp-notify: [Red!] Your codeception tests failed!`


Is there a way to remove `clear`?

Error: Cannot find module 'laravel-elixir/tasks/shared/Tests'

Receiving the following error when trying to run gulp or gulp tdd with laravel-elixir-codeception installed?

Error: Cannot find module 'laravel-elixir/tasks/shared/Tests'

Is this wrapper still functional or is there a better solution to using codeception and elixir together?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.