diff --git a/README.md b/README.md index 3e283d228..ecfe79ae4 100644 --- a/README.md +++ b/README.md @@ -111,6 +111,7 @@ The project uses a development method - forking workflow the [eco-goinfra](https://github.com/openshift-kni/eco-goinfra). 8) The pull request gets approved from at least 2 reviewers for merge and is merged into the [eco-goinfra](https://github.com/openshift-kni/eco-goinfra) . +#### Note: Every new package requires a coverage of ALL its public functions with unit tests. Examples of unit tests can be found in the repo and are located in the same folder with the package they cover and named after the CRD, for example [configmap_test.go](./pkg/configmap/configmap_test.go) or [metallb_test.go](./pkg/metallb/metallb_test.go). ### Code conventions #### Lint @@ -144,4 +145,4 @@ func Function( argInt1, argInt2 int, argString1, argString2 string, argSlice1, argSlice2 []string) { } -``` \ No newline at end of file +```