# |
Mar 11th 2019, 14:19 |
josbeir |
HELLO @ricksaccous ! :shrug: |
# |
Mar 11th 2019, 14:17 |
ricksaccous |
shnappppppp |
# |
Mar 11th 2019, 14:17 |
ricksaccous |
what's up homies i'm back up in the mixxxxxxxxxxx |
# |
Mar 11th 2019, 14:16 |
ricksaccous |
:face_with_hand_over_mouth: |
# |
Mar 11th 2019, 14:06 |
neon1024 |
:man-gesturing-ok: |
# |
Mar 11th 2019, 13:29 |
josbeir |
:shrug: |
# |
Mar 11th 2019, 13:29 |
alexdd55 |
:man-shrugging: |
# |
Mar 11th 2019, 13:29 |
alexdd55 |
i guess he means something like weight 7 is closest to 5 out of [ 11, 7, 37456, 1] |
# |
Mar 11th 2019, 13:28 |
josbeir |
sort the collection by weight and 'take' an item from it |
# |
Mar 11th 2019, 13:27 |
josbeir |
what do you mean by closes weight |
# |
Mar 11th 2019, 12:30 |
rudy1976s |
I need some help with collection: I have a collection containg some values, let's think about weights: I have a weight and to find the closest in the collection: is there something alreay available or need to create somethin |
# |
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 :) |