# |
Oct 3rd 2016, 14:31 |
Neon1024 |
Oh right, sorry, assumed you mean like a watcher or something |
# |
Oct 3rd 2016, 14:31 |
admad |
Neon1024: i never said to run it on every keystroke. You can configure it to run on file save |
# |
Oct 3rd 2016, 14:31 |
Neon1024 |
Especially with phpcbf able to auto-fix most errors |
# |
Oct 3rd 2016, 14:31 |
Neon1024 |
admad, Not everyone wants it running on every keystroke though |
# |
Oct 3rd 2016, 14:30 |
admad |
@avi running phpcs should be configured in your editor itself |
# |
Oct 3rd 2016, 14:30 |
Neon1024 |
o |
# |
Oct 3rd 2016, 14:30 |
ndm |
Well, there's german here on slack :slightly_smiling_face: |
# |
Oct 3rd 2016, 14:30 |
Neon1024 |
But youâ??re on Slack, so well, yeah have fun with that |
# |
Oct 3rd 2016, 14:29 |
Neon1024 |
maikh, Well if you were here on irc Iâ??d recommend trying #cakephp-de |
# |
Oct 3rd 2016, 14:28 |
maikh |
@birdy it is a very big form which has to work with cookies and db at the same. Image uploading, and so on and so on. i think i need only help on saving correct data, compare data on save and getting data from cookies. german speaker would be great. |
# |
Oct 3rd 2016, 14:25 |
birdy247 |
maikh what is your project |
# |
Oct 3rd 2016, 14:24 |
avi |
Bash alias makes sense :white_check_mark: |
# |
Oct 3rd 2016, 14:23 |
Neon1024 |
vendor/bin/phpunit andand vendor/bin/phpcs â??standard=vendor/cakephp/cakephp-codesniffer/CakePHP |
# |
Oct 3rd 2016, 14:23 |
Neon1024 |
So why not make a bash alias for |
# |
Oct 3rd 2016, 14:23 |
Neon1024 |
Well, using vendor/bin/phpunit with a proper phpunit.xml will run the configured test suites automatically |
# |
Oct 3rd 2016, 14:21 |
avi |
Any ideas and thoughts to make running tests locally on a developerâ??s machine easier (with just 1 command)? I want something like `bin/cake myApp test` -> this should run both `phpunit` and `phpcs`. Is writing a shell script the only way? |
# |
Oct 3rd 2016, 14:19 |
Neon1024 |
unorthodox, Just because, RE: This morning /cc birdy247 - echo sprintf($this->markup, "tv channels $providerClass", "$chans channels $hd"); |
# |
Oct 3rd 2016, 14:17 |
maikh |
Is there someone who can help to finish my project? For money of course. |
# |
Oct 3rd 2016, 13:59 |
dakota |
By definition if the servers changed, then something changed |
# |
Oct 3rd 2016, 13:59 |
dakota |
@birdy247 â??Adamant that nothing changedâ? does not work with a â??migration of serversâ? :) |
# |
Oct 3rd 2016, 13:57 |
maikh |
@dakota hm, i think this is not possible for me... |
# |
Oct 3rd 2016, 13:50 |
Neon1024 |
In my own plugins, without needing an application, as there is no app comitted to my repo, so I guess perhaps I ran the tests inside an application, rather than just the plugin in isolation |
# |
Oct 3rd 2016, 13:49 |
Neon1024 |
Whatâ??s really odd is that Iâ??ve done it before |
# |
Oct 3rd 2016, 13:49 |
Neon1024 |
I have too much to get done to spend hours figuring it out |
# |
Oct 3rd 2016, 13:49 |
Neon1024 |
But if itâ??s not doable within 30 minutes, then itâ??s not worth doing at all |
# |
Oct 3rd 2016, 13:49 |
Neon1024 |
Shame, Iâ??d have liked to have some basic tests in place |
# |
Oct 3rd 2016, 13:48 |
Neon1024 |
I guess Iâ??m not writing tests then |
# |
Oct 3rd 2016, 13:47 |
dereuromark |
I pulled basically an empty app as skeleton around the plugin for testing |
# |
Oct 3rd 2016, 13:47 |
dereuromark |
You could look into some of my plugins which have tests |
# |
Oct 3rd 2016, 13:47 |
dereuromark |
in 2.x it was annoying as it needs an app here |
# |
Oct 3rd 2016, 13:47 |
Neon1024 |
..and I canâ??t find a repo with a setup which works |
# |
Oct 3rd 2016, 13:46 |
Neon1024 |
Running tests directly with phpunit isnâ??t covered in the book |
# |
Oct 3rd 2016, 13:46 |
Neon1024 |
But the App class assumes you have an application |
# |
Oct 3rd 2016, 13:46 |
Neon1024 |
Which means I to bootstrap stuff in my Test/bootstrap.php |
# |
Oct 3rd 2016, 13:46 |
Neon1024 |
So I canâ??t call Console/cake test |
# |
Oct 3rd 2016, 13:45 |
Neon1024 |
As itâ??s a plugin, so doesnâ??t have an application, which the bootstrap file seems to assume |
# |
Oct 3rd 2016, 13:45 |
Neon1024 |
Iâ??m really struggling |
# |
Oct 3rd 2016, 13:45 |
Neon1024 |
How can I test my helper in Cake 2 |
# |
Oct 3rd 2016, 13:39 |
birdy247 |
who are adamant that nothing has changed |
# |
Oct 3rd 2016, 13:39 |
birdy247 |
and it suddenly stopped after my hosting company performed a migration of servers |
# |
Oct 3rd 2016, 13:38 |
birdy247 |
^^ This was working perfectly until 2 days ago |