[Golang] Testing with Ginkgo
Vložit
- čas přidán 12. 10. 2020
- How to install and write tests with Ginkgo?
Ginkgo docs: onsi.github.io/ginkgo/
Happy coding!
Twitter: / panpit0
• 🧠 DESIGN PATTERNS 🧠
• 🎥 GO FOR IT! 🎥
• 📚 PUBLISHING YOUR LIBR...
• 💥 ALL ABOUT GO 💥
---
Golang version: 1.15
IDE: Goland
OS: Mac
Accent: French
Very useful video. Thank you for making this.
Thanks for making this video 😊Are the BeforeEach() in each Context() block not run for every It() block?
Thanks for the video.
Straight on point!!
Very Nice Demo
Thank you!
I did go get ginkgo and gomega but when I use command ginkgo command getting following error --- $ ginkgo bootstrap
bash: ginkgo: command not found
it's probably a GOPATH issue:
- make sure your ginkgo binaries are probably installed within your GOPATH
- make sure your GOPATH is properly declared and accessible at the beginning of any bash/sh/zsh session
@@panpit0 can you please further explain how to solve this issue and how
@@panpit0 I have spent an hour trying to figure out how to do this after reading the official Ginkgo docs. I am familiar with $PATH and the like, but exactly what do I write and where, on Mac? This might be a good thing to do a video on, because everything I've found on Stack Overflow and the official docs assume the user knows how to do exactly this.