creating fixture based tests (for pyVmomi)

Опубликовано: 31 Июль 2014
на канале: codehandle
3,553
5

Its time to up your game. You know how to do basic testing. You know how to test code that uses other libraries by using stubs and mock objects. But, what do you do when you have integration heavy code? How do you create tests when you’re right on the metal?

This really was almost live coding. I actually developed the test while recording and edited the video for time. (I re-recorded cutting and pasting the code after the fact because watching me code was a bit like watching paint dry.)

Blog post: http://hartsock.blogspot.com/2014/08/...
Code developed during this presenation: https://github.com/vmware/pyvmomi/com...

pyVmomi: https://github.com/vmware/pyvmomi/
pyVmomi Community Samples: http://vmware.github.io/pyvmomi-commu...
Python vcrpy: https://pypi.python.org/pypi/vcrpy
Ruby vcr: https://rubygems.org/gems/vcr
Java/Groovy betamax: http://freeside.co/betamax/

VCSIM setup and configuration:    • Setting up the VCSIM for vCenter Development  


На этой странице сайта вы можете посмотреть видео онлайн creating fixture based tests (for pyVmomi) длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь codehandle 31 Июль 2014, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 3,553 раз и оно понравилось 5 зрителям. Приятного просмотра!