mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 09:09:30 -04:00
Add note to install Testify
* docs: Add note to install Testify The Hugo Contributor Guide (Development) instructs users to run "go test ./..." and ensure it passes before moving on. However Hugo requires the Testify package for testing, and running the go test command without Testify results in 'cannot find package' errors and failing tests. It's hard to understand what to do next for users not familiar with Go dependencies. This commit adds a note to the contributor guide instructing users to get Testify if they don't already have it installed. Running the 'go get' command added here results in passing tests in the next step of the contributor guide. * Fix typo https:// in go get command
This commit is contained in:
parent
19f13e6162
commit
3a58818ea6
@ -139,6 +139,12 @@ So, let's clone that master repository:
|
||||
go get -v -u github.com/gohugoio/hugo
|
||||
```
|
||||
|
||||
Hugo relies on [Testify](https://github.com/stretchr/testify) for testing Go code. If you don't already have it, get the Testify testing tools:
|
||||
|
||||
```
|
||||
go get github.com/stretchr/testify
|
||||
```
|
||||
|
||||
### Fork the repository
|
||||
|
||||
If you're not fimiliar with this term, GitHub's [help pages](https://help.github.com/articles/fork-a-repo/) provide again a simple explanation:
|
||||
|
Loading…
x
Reference in New Issue
Block a user