I had an interview a few weeks ago (one of like 3 this year) where it was revealed they still write these.
They asked how we kept all the stuff organized at my last job. All the cucumber stuff. I said we just kept the tests next to the file they’re testing- foo.py has a sibling test_foo.py- and we didn’t find much value in adding extra layers. If you want to test the API returns 403 when you request another user’s file, you can just write like
def test_403_when_requesting_other_user_file() -> None:
response = requests.get("whatever/etc")
assert response.status_code == 403
You can be pretty to the point.
We used docstrings to explain non-obvious things. Swagger shows the API docs in a nice webpage for anyone curious and authorized.
He wasn’t impressed and I didn’t make it to the next round.







Sometimes it’s “reaction formation”. They like a thing. That makes them uncomfortable. They instead go hard in the other direction - they hate the thing it’s horrible and bad and the worst.
Sometimes they’re just… basic, and need the world to fit into simple boxes. Anything else stresses their brain.