Log message #4179170

# At Username Text
# Mar 11th 2019, 12:29 rudy1976s good afternoon to all!
# Mar 11th 2019, 11:58 inoas jose_zap back
# Mar 11th 2019, 11:58 alexdd55 and copy phpunit.xml.dist -> phpunit.xml
# Mar 11th 2019, 11:58 alexdd55 downgrading the phpunit version helped
# Mar 11th 2019, 11:58 neon1024 :thumbsup:
# Mar 11th 2019, 11:57 alexdd55 @neon1024 @challgren thanks for your help. no error message anymore
# Mar 11th 2019, 11:57 alexdd55 \o/
# Mar 11th 2019, 11:56 alexdd55 something happens
# Mar 11th 2019, 11:56 alexdd55 HA!
# Mar 11th 2019, 11:56 neon1024 Can we see this error message?
# Mar 11th 2019, 11:55 alexdd55 hm.. same error message
# Mar 11th 2019, 11:54 alexdd55 because its not a feature they can sell
# Mar 11th 2019, 11:54 alexdd55 always easy to deny this work
# Mar 11th 2019, 11:54 alexdd55 of course
# Mar 11th 2019, 11:54 neon1024 Hah, always the way. They want to do it much later when it’ll take three times as long and cost twice as much
# Mar 11th 2019, 11:53 alexdd55 a colleague is preaching this for years, even wrote a book about TDD… but management never wanted to do it… now they they agreed… and there we are
# Mar 11th 2019, 11:53 neon1024 .and say don’t be afraid to refactor to make testing easier
# Mar 11th 2019, 11:53 neon1024 All I can do is wish you luck!
# Mar 11th 2019, 11:52 neon1024 You’ll end up with complex tests, which are fragile
# Mar 11th 2019, 11:52 alexdd55 when i start with new stuff.. you are absolutely right
# Mar 11th 2019, 11:52 neon1024 Because the code will not be written in a testable way
# Mar 11th 2019, 11:52 neon1024 That’s *the* hardest thing to do
# Mar 11th 2019, 11:52 neon1024 New helpers, libraries, new functionality, lots of places!
# Mar 11th 2019, 11:52 alexdd55 need to add tests now for exsiting stuff
# Mar 11th 2019, 11:52 neon1024 You can TDD any new functionality
# Mar 11th 2019, 11:52 neon1024 Yes you can, of course you can.
# Mar 11th 2019, 11:51 alexdd55 can’T do… project is running now for 3 years
# Mar 11th 2019, 11:51 neon1024 Also if you’re totally new to testing, I would strongly recommend starting with TDD
# Mar 11th 2019, 11:49 alexdd55 ok.. then i will replace the phpunit version first :zany_face:
# Mar 11th 2019, 11:49 neon1024 Cake 4 will support PHP Unit 8 :)
# Mar 11th 2019, 11:48 neon1024 You can strip it out, but you have to do that yourself and load your own fixtures
# Mar 11th 2019, 11:48 neon1024 This doesn’t work in newer versions
# Mar 11th 2019, 11:48 neon1024 https://github.com/cakephp/app/blob/master/phpunit.xml.dist#L24
# Mar 11th 2019, 11:48 neon1024 Newer versions cause issues with the FixtureInjection event in the config
# Mar 11th 2019, 11:48 alexdd55 oh wth
# Mar 11th 2019, 11:47 neon1024 https://github.com/cakephp/app/blob/master/composer.json#L19
# Mar 11th 2019, 11:47 neon1024 You’ve got the wrong PHPUNIT :slightly_smiling_face:
# Mar 11th 2019, 11:47 alexdd55 using cake 3.6
# Mar 11th 2019, 11:47 alexdd55 7.
# Mar 11th 2019, 11:47 neon1024 Using CakePHP 3.7.x
# Mar 11th 2019, 11:47 neon1024 Or 7