Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: README.md

Issue 29723623: Issue 6487 - IOElement as base component for ABP UI (Closed)
Patch Set: Created March 21, 2018, 2:20 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « .hgignore ('k') | js/io-element.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: README.md
===================================================================
--- a/README.md
+++ b/README.md
@@ -62,16 +62,29 @@
```sh
npm start -- -p 5000 -c-1
```
Various aspects of the pages can be tested by setting parameters in the URL.
The only universal parameter is `locale`, e.g. `?locale=es-AR`. This parameter
overrides browser's locale which will be used by default.
+Smoke Testing UI
+----------------
+
+The `./tests` folder contains essential files to test our Custom Elements
+in isolation. As it is done for the `io-element` one, you need to add
+at least an `io-element.js` test file and its `io-element.html` related page.
+
+A package script entry such `"test:io-element.js"` should bundle the
+resulting page/component inside the `./smoke` folder.
+
+Please read how it's done for `io-element` to know more.
+
+
Linting
-------
You can lint all options via `npm run lint`.
You can also run specific target linting via `npm run lint:js` or, once available, via `npm run lint:css`.
Remember, both `eslint` and `stylelint` can help fixing issues via `--fix` flag.
« no previous file with comments | « .hgignore ('k') | js/io-element.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld