SaturdayMP Show 89: PostCast (Part 10 – Integration Tests and Keyring Saving)

Omar is back! We really got into the zone and recorded our longest PostCast video yet. Might be the longest SaturdayMP Show video yet. We don’t edit out mistakes, so watch along as we learn in real time:

  • how to write integration tests in Go (build tags vs. -short flag)
  • how to create test setup/teardown in Go
  • that the go-keyring library has mocking built in so we can simplify our tests
  • how to connect our keyring logic to the Fyne GUI

Do you like or dislike the long live coding sessions? Should we try coding live instead of mostly live? Let us know in a constructive and polite manor.

*PostCast is just a place holder name and might change. The goofy PostCast placeholder image was generated by ChatGPT and will likely change.

zalando/go-keyring:
https://github.com/zalando/go-keyring

Build tags vs. Short:
https://stackoverflow.com/questions/25965584/separating-unit-tests-and-integration-tests-in-go

Fyne:
https://fyne.io/

Omar:
https://www.ashour.ca/

SaturdayMP:
https://saturdaymp.com/

PostCast Playlist:
https://www.youtube.com/playlist?list=PLYPcrKbLqwuvKQ97klk3bzyUPI6j154WC

Have a question you want answered in a future video? A challenging or interesting problem you want to see solved? Constructive feedback? Then comment, DM me, or send an email to ask@saturdaymp.com.

Found this video useful? Then help others find it by liking, subscribing, sharing, and/or sponsoring: https://github.com/sponsors/saturdaymp

Thanks for watching!

This entry was posted in Code Examples, Saturday MP Show and tagged , , , , . Bookmark the permalink.