dannys's avatar

Gulpfile Auto Test, TDD and phpspec

Hello, i am following Jeff step 6 course, Step 1 prime factors, i followed his steps, from php descirbe primefactors to run, but everytime i run i get 1 argument broken instead of passed even after i create the class. Also after i install gulp, with his gulpfile, i run gulp in cmd and nothing changes, i can't get the auto-test messages jeff gets. I also don't understand how he can run phpspec without changing into bin with cd. I am realy stuck here and need help, i use windows btw, thanks.

0 likes
3 replies
dannys's avatar

I have basically everything set up, i can run Gulp in the cmd, the project structure is exactly the same as Jeff's so i don't know what else needs to be done.

dannys's avatar

when i type gulp test in cmd, what i get is Using gulpfile C:\xampp\htdocs\CodeKatas\gulpfile.js Starting 'test'... Finished 'test' after 27ms event.js 160 throw er; // Unhandled 'error' event How can this happen when the location of the .php file is exactly inside the src directory?

dannys's avatar
dannys
OP
Best Answer
Level 4

My problem is fixed, changed to linux and fixed the issue.

1 like

Please or to participate in this conversation.