Add conventions

This commit is contained in:
Erick Fejta
2016-03-06 19:50:31 -08:00
parent fd4fee788b
commit aaa51d0bb2
2 changed files with 34 additions and 4 deletions

View File

@@ -64,6 +64,7 @@ Testing conventions
- Significant features should come with integration (test/integration) and/or [end-to-end (test/e2e) tests](e2e-tests.md)
- Including new kubectl commands and major features of existing commands
- Unit tests must pass on OS X and Windows platforms - if you use Linux specific features, your test case must either be skipped on windows or compiled out (skipped is better when running Linux specific commands, compiled out is required when your code does not compile on Windows).
- See the [testing guide](testing.md) for additional testing advice.
Directory and file conventions
- Avoid package sprawl. Find an appropriate subdirectory for new packages. (See [#4851](http://issues.k8s.io/4851) for discussion.)