diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-07-27 11:21:55 -0600 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-09-21 19:02:18 -0600 |
commit | d4e2c4eff57291157e3990fe412c095d3a7c8de9 (patch) | |
tree | 80f43b938ab52c62d40c6f3856b40d6992f6bae5 /doc/development/frontend.md | |
parent | 3b3e9d17b9f238ba1eab6c0a7e121c92f5f5d5c4 (diff) | |
download | gitlab-ce-d4e2c4eff57291157e3990fe412c095d3a7c8de9.tar.gz |
Add short Testing section, minor fixes.
Diffstat (limited to 'doc/development/frontend.md')
-rw-r--r-- | doc/development/frontend.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/development/frontend.md b/doc/development/frontend.md index ff75fe14393..05ea10e754c 100644 --- a/doc/development/frontend.md +++ b/doc/development/frontend.md @@ -47,7 +47,7 @@ data is used for users with capped data plans. General tips: - Don't add unnecessary fonts. -- Prefer font formats with better compression, e.g. WOFF2 is better than WOFF is better than TFF. +- Prefer font formats with better compression, e.g. WOFF2 is better than WOFF, which is better than TTF. - Compress and minify assets wherever possible (For CSS/JS, Sprockets does this for us). - If a piece of functionality can be reasonably done without adding extra libraries, prefer not to use extra libraries. - Use page-specific JavaScripts as described above to dynamically load libraries that are only needed on certain pages. @@ -146,6 +146,12 @@ See the relevant style guides for details and information on linting: - [SCSS][scss-style-guide] +## Testing + +Feature tests should be written for all new features as well as any regressions to prevent them from occuring again. + +See [the Testing Standards and Style Guidelines](testing.md) for more information. + [d3]: https://d3js.org/ [chartjs]: http://www.chartjs.org/ [chrome-accessibility-developer-tools]: https://github.com/GoogleChrome/accessibility-developer-tools |