It is important to organize your code into logical components for development and testing. Using the framework test features (or external support libraries) smaller components can more easily be verified through simple tests. The Go language's built-in support for testing has meant that test coverage is improving; in fact, the popular Go library list, awesome-go.com, asks that libraries have a test coverage of at least 80%! GUI toolkits, especially those newer ones discussed in Section 3, Modern Graphical Toolkits, need to meet these expectations and allow developers using them to do so as well.
If your chosen framework does not provide the necessary support, it is still possible to automate functional testing. ...