Merge pull request #720 from stevvooe/amend-coding-guidelines
Clarify style rule about testing frameworks
This commit is contained in:
commit
32e7acfea2
1 changed files with 3 additions and 1 deletions
|
@ -118,7 +118,9 @@ The rules:
|
||||||
8. No utils or helpers packages. If a function is not general enough to
|
8. No utils or helpers packages. If a function is not general enough to
|
||||||
warrant it's own package, it has not been written generally enough to be a
|
warrant it's own package, it has not been written generally enough to be a
|
||||||
part of a util package. Just leave it unexported and well-documented.
|
part of a util package. Just leave it unexported and well-documented.
|
||||||
9. No, we don't need another unit testing framework.
|
9. All tests should run with `go test` and outside tooling should not be
|
||||||
|
required. No, we don't need another unit testing framework. Assertion
|
||||||
|
packages are acceptable if they provide _real_ incremental value.
|
||||||
10. Even though we call these "rules" above, they are actually just
|
10. Even though we call these "rules" above, they are actually just
|
||||||
guidelines. Since you've read all the rules, you now know that.
|
guidelines. Since you've read all the rules, you now know that.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue