[Golang] Testing with Ginkgo

Sdílet
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

Komentáře • 11

  • @zulhilmizainudin
    @zulhilmizainudin Před 3 lety

    Very useful video. Thank you for making this.

  • @victornoagbodji
    @victornoagbodji Před 6 měsíci

    Thanks for making this video 😊Are the BeforeEach() in each Context() block not run for every It() block?

  • @rajendragosavi2233
    @rajendragosavi2233 Před 2 lety

    Thanks for the video.

  • @user-lw2ww6ey7u
    @user-lw2ww6ey7u Před 5 měsíci

    Straight on point!!

  • @CasioArtist
    @CasioArtist Před 9 měsíci

    Very Nice Demo

  • @ayaz.ayupov
    @ayaz.ayupov Před 2 lety

    Thank you!

  • @mayurupadhyay3216
    @mayurupadhyay3216 Před 2 lety

    I did go get ginkgo and gomega but when I use command ginkgo command getting following error --- $ ginkgo bootstrap
    bash: ginkgo: command not found

    • @panpit0
      @panpit0  Před 2 lety +2

      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

    • @khushalgandhi5157
      @khushalgandhi5157 Před rokem

      @@panpit0 can you please further explain how to solve this issue and how

    • @alexgochenour8740
      @alexgochenour8740 Před rokem

      @@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.