際際滷

際際滷Share a Scribd company logo
Mockito
How a mocking library created a real community
Allon Mureinik
Associate Manager, RHV Storage
Red Hat Israel
26/01/2018
@mureinik
https://www.linkedin.com/in/mureinik
https://github.com/mureinik
amureini@redhat.com
Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)2
Ghosts of DevConf.cz past
2014:
Disaster Recovery Strategies Using oVirt's
new Storage Connection Management Features
2015:
Step by Step  Reusing old features to build new ones
2016:
A Closed Source Developers Journey into Openness
2017:
Ja-WAT? Was accepted, but I couldnt attend
http://dilbert.com/
Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)3
Mockito
http://site.mockito.org/
Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)4
Its all about motivation...
https://imgfip.com/i/1utcf6
Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)5
Whats my why?
Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)6
Whats my why?
Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)7
Hyperbaric Oxygen Therapy
http://www.assafh.org/clinic/Hifrbaric/Pages/about.aspx
Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)8
Killing time...
https://www.mcdonalds.com/
Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)9
Killing more time...
https://stackoverfow.com/users/2422776/mureinik
Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)10
Killing even more time...
https://thenounproject.com/term/work/1123453
Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)11
My first patch...
https://thenounproject.com/term/birthday-cake/658644
https://github.com/mockito/mockito/pull/880
Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)12
Keep on chugging...
https://github.com/checkstyle/checkstyle
https://github.com/mockito/mockito/pull/932
Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)13
So why dont you do a feature...
https://thenounproject.com/term/builder/349655
https://github.com/mockito/mockito/pull/935
Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)14
Lessons Learned
https://thenounproject.com/term/mortar-board/1826/
Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)15
The Good
https://thenounproject.com/term/thumbs-up/983476
Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)16
Be Quick
https://thenounproject.com/term/fast/848423
Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)17
Be Positive
https://thenounproject.com/term/new-conversation/561463
Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)18
Be Proactive
https://thenounproject.com/term/take-action/210788
Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)19
The Bad
https://thenounproject.com/term/thumb-down/983472
Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)20
Closed gardens are bad
https://thenounproject.com/term/closed-group/627816
https://github.com/mockito/mockito/pull/928
Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)21
Ambiguity is bad
https://thenounproject.com/term/theater/34500
https://github.com/mockito/mockito/pull/1143
Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)22
In conclusion
The Dos:

Be Quick

Be Positive

Be Proactive
The Donts:

Dont hide behind the maintainer wall

Dont ask for contributions on ideas that
dont have a consensus
Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)23
Questions?
https://thenounproject.com/term/questions/1195076
Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)24
Get Involved!
Main Site:
http://site.mockito.org/
Github Project:
https://github.com/mockito/mockito
Contributing Guide:
https://github.com/mockito/mockito/b
lob/release/2.x/.github/CONTRIBUTING
.md
THANK YOU
plus.google.com/+RedHat
linkedin.com/company/red-hat
youtube.com/user/RedHatVideos
facebook.com/redhatinc
twitter.com/RedHatNews

More Related Content

Mockito - How a mocking library built a real community

  • 1. Mockito How a mocking library created a real community Allon Mureinik Associate Manager, RHV Storage Red Hat Israel 26/01/2018 @mureinik https://www.linkedin.com/in/mureinik https://github.com/mureinik amureini@redhat.com
  • 2. Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)2 Ghosts of DevConf.cz past 2014: Disaster Recovery Strategies Using oVirt's new Storage Connection Management Features 2015: Step by Step Reusing old features to build new ones 2016: A Closed Source Developers Journey into Openness 2017: Ja-WAT? Was accepted, but I couldnt attend http://dilbert.com/
  • 3. Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)3 Mockito http://site.mockito.org/
  • 4. Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)4 Its all about motivation... https://imgfip.com/i/1utcf6
  • 5. Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)5 Whats my why?
  • 6. Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)6 Whats my why?
  • 7. Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)7 Hyperbaric Oxygen Therapy http://www.assafh.org/clinic/Hifrbaric/Pages/about.aspx
  • 8. Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)8 Killing time... https://www.mcdonalds.com/
  • 9. Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)9 Killing more time... https://stackoverfow.com/users/2422776/mureinik
  • 10. Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)10 Killing even more time... https://thenounproject.com/term/work/1123453
  • 11. Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)11 My first patch... https://thenounproject.com/term/birthday-cake/658644 https://github.com/mockito/mockito/pull/880
  • 12. Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)12 Keep on chugging... https://github.com/checkstyle/checkstyle https://github.com/mockito/mockito/pull/932
  • 13. Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)13 So why dont you do a feature... https://thenounproject.com/term/builder/349655 https://github.com/mockito/mockito/pull/935
  • 14. Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)14 Lessons Learned https://thenounproject.com/term/mortar-board/1826/
  • 15. Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)15 The Good https://thenounproject.com/term/thumbs-up/983476
  • 16. Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)16 Be Quick https://thenounproject.com/term/fast/848423
  • 17. Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)17 Be Positive https://thenounproject.com/term/new-conversation/561463
  • 18. Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)18 Be Proactive https://thenounproject.com/term/take-action/210788
  • 19. Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)19 The Bad https://thenounproject.com/term/thumb-down/983472
  • 20. Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)20 Closed gardens are bad https://thenounproject.com/term/closed-group/627816 https://github.com/mockito/mockito/pull/928
  • 21. Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)21 Ambiguity is bad https://thenounproject.com/term/theater/34500 https://github.com/mockito/mockito/pull/1143
  • 22. Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)22 In conclusion The Dos: Be Quick Be Positive Be Proactive The Donts: Dont hide behind the maintainer wall Dont ask for contributions on ideas that dont have a consensus
  • 23. Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)23 Questions? https://thenounproject.com/term/questions/1195076
  • 24. Mockito - How a mocking library created a real community (Allon Mureinik, DevConf.cz 2018, cc-by-sa)24 Get Involved! Main Site: http://site.mockito.org/ Github Project: https://github.com/mockito/mockito Contributing Guide: https://github.com/mockito/mockito/b lob/release/2.x/.github/CONTRIBUTING .md