

I agree if it’s checking if a method gives the right output for a specific input. But i’m more concernd with checking if it issued the right side effects, i.e. called right services and so on and then checking if it made right calls to the mocks.


I agree if it’s checking if a method gives the right output for a specific input. But i’m more concernd with checking if it issued the right side effects, i.e. called right services and so on and then checking if it made right calls to the mocks.


There is also this gem in the post:
You shouldn’t be mocking your methods, you should mock your IO. And, similarly, you shouldn’t test methods, but rather software functionality
I totally agree! With containers you might not even have to mock your IO but can check if the application behaves correctly.
To add what the others said, yesterday morning there was news that every php version is vulnerable but the fixes were published very late in the day (or whenever depending on timezone) thus there was a 8+hours of unceartiny and fear for administrators. A lot of websites shut down due to that.


Und dazu noch die Sache mit den Zertifikaten…
Sounds good
Dunno, my Linux boots that fast.
Value types are in work, you can test on dev branches.
Did we just go full circle? CSS classes already exist.
Javascript with ES Modules and Rust are my favorites.
import { add, subtract } from './math.mjs';
Java is fine, Python feels backwards and i’m never sure why relative imports work or dont work.
There might be some installation logs that show what you manually installed.
Move the content of your home folder to a new subfolder, pick the bits you need and delete the subfolder?
Yes always is probably wrong, but not having global state allows you to argue just by function signature and allows easier unit testing and multithreading and probably more.