Skip to content

Instantly share code, notes, and snippets.

@maltebucksch
Last active August 19, 2022 18:32
Show Gist options
  • Save maltebucksch/d43ffc0af1170ef230b94c0bf0fe5630 to your computer and use it in GitHub Desktop.
Save maltebucksch/d43ffc0af1170ef230b94c0bf0fe5630 to your computer and use it in GitHub Desktop.
Evaluating a great developer team
fun testTeamIsAwesome() {
val quickBirdTeamMembers = fetchTeamMembers()
val awesomeTeamMembers = quickBirdTeamMembers.filter { teamMember ->
teamMember.isPassionate &&
teamMember.isFriendly &&
teamMember.isConstantlyImproving
}
assertEquals(quickBirdTeamMembers.size, awesomeTeamMembers.size)
}
@kuamanet
Copy link

kuamanet commented Aug 1, 2020

What about something like this?

@jerryOkafor
Copy link

This is a very important test I must say. I am enjoying the sense of humour in how your team organise, package and convey values. I have read the article about Gordon the smith, it is such captivating and all-encompassing of what a modern team should be.

About the team test, a good question is why add a team member that does not have all the three qualities - passionate, friendly and constantly improving? Given that we may not be able to tell immediately if someone possesses all these qualities, it suffices to say that there is a possibility for the test to fail. I would like to implement a notification pipeline to notify the team lead whenever the test fails as this is a critical situation. It should not fail for long, every fix has to be done within seconds to remedy the situation.

@peshrus
Copy link

peshrus commented Sep 20, 2020

I understand it's just a fun form of your values representing but... an empty team will be still awesome. Am I wrong? ๐Ÿ™‚

@maltebucksch
Copy link
Author

What about something like this?

Nice implementation of all of the surroundings! :-D makes sense from a coding point of view. But it seems a bit too complicated for conveying the message in a simple way inside the job posting. But I guess that wasn't your goal, so --> nice input ๐Ÿ‘.

I would like to implement a notification pipeline to notify the team lead whenever the test fails as this is a critical situation. It should not fail for long, every fix has to be done within seconds to remedy the situation.

Makes sense! Might put too much pressure on the team because they have to be awesome every single minute. Everybody has a bad unproductive morning from time to time, and that's ok. So let's implement that pipeline but run it only once per week maybe? :)

I understand it's just a fun form of your values representing but... an empty team will be still awesome. Am I wrong? ๐Ÿ™‚

Valid point. Leads to a philosophical discussion. Is a non-existent team awesome? ๐Ÿค” Hard to say. I'd also be inclined to think that a non-existent team doesn't add any value to the world, and is therefore not awesome. Might be a reason to adapt the test.

@mirland
Copy link

mirland commented Aug 19, 2022

Hi! fetchTeamMembers() should be a suspend function, and you are not in a coroutine scope ๐Ÿค” . So I think that test will not work ๐Ÿ™‚

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment