kevincobain2000 / gobrew

Go version manager, written in Go. Super simple tool to install and manage Go versions. Install go without root. Gobrew doesn't require shell rehash.
https://medium.com/web-developer/go-version-manager-gobrew-c8750157dfe6
MIT License
364 stars 24 forks source link

Unit tests #127

Closed juev closed 8 months ago

juev commented 12 months ago

We need unit tests in order to catch errors before release.

  1. It is necessary to prepare mocks for the http client and for working with the file system
  2. It is advisable to cover all used functions with tests.

I think that within the framework of this issue a PR will be created, which we will release only when ready. We will discuss this separately.