I will be happy at work if
– Flexible about when and where you want to work
– Physical workspace must be quiet and have a few people from your team around and some windows where you can look at something nice
– Communication must be pull and not push pattern
– There must be time for innovation and learning
– Technical dept is not to big
I reflected on this when I read the blog on https://stackoverflow.blog/2022/03/17/new-data-what-makes-developers-happy-at-work
Måned: marts 2022
Share mock logic in spock
Problem:
I have had a hard time doing copy/paste code in spock test that shares same setup logic.
Solution:
https://stackoverflow.com/questions/52521661/how-to-separate-tests-that-require-a-shared-mock
Documentation:
https://spockframework.org/spock/docs/1.3/all_in_one.html#_autoattach