jeffreyway / laravel-elixir-codeception Goto Github PK
View Code? Open in Web Editor NEWLaravel Elixir wrapper for Codeception
Laravel Elixir wrapper for Codeception
Hey @JeffreyWay , when i run gulp it exits after executing.
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.
Now, this package does not work on windows:
'.\vendor\bin\codecept' is not recognized as an internal or external command,
operable program or batch file.
Maybe If we add as a third optional parameter the path to codeception binary, we could solve this.
What do you think?
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
``
λ gulp codeception
[12:42:51] Using gulpfile C:\Repositories\tdd-examples\gulpfile.js
[12:42:51] Starting 'codeception'...
Fetching Codeception Source Files...
[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`?
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.