News for hackers. Stuff that matters.
Re:Why We Switched from Python to Go (2021) by claytonjy on Thursday May 26, 2022 @11:01AM (#31519182)
Of things you mention I feel the testing part the most. I started python recently enough that I've only ever used pytest, but something about it just feels too...magical? I'm holding out hope for a new test framework that I'd feel more at home with, but I'm not aware of any such projects; do they exist?
Re:Why We Switched from Python to Go (2021) by ptx on Thursday May 26, 2022 @12:03PM (#31520018)
You could give the built-in unittest module [1] a try. It's less magical (although also less flexible) and many of its old limitations that people used to cite as advantages of pytest (e.g. built-in test discovery) have since been fixed.

[1] https://docs.python.org/3/library/unittest.html

Re:Why We Switched from Python to Go (2021) by gosukiwi on Thursday May 26, 2022 @02:28PM (#31521800)
I'm relatively new to Python, coming from Ruby and JS, and the built-in unittest module is just fine. I haven't had any issues with it, besides the documentation for setting it up following the conventions is really hard to find. But once it works, I like how simple it is. If you know OOP you'll feel right at home. You can simply create your own test case classes if you want to re-use stuff. No magical bloated configuration.
Re:Why We Switched from Python to Go (2021) by d0mine on Thursday May 26, 2022 @02:00PM (#31521488)
If "too magical" is the only complaint that is mentioned, then pytest is not too bad :)