To run the tests you can use the following command:
gulp test
It will build all source files including tests and run Web Component Tester.
All test files will have .spec postfix extention. For instance permission-controller.spec.html . Test files are placed in elements src directories.
.spec
permission-controller.spec.html
Entry point file index.spec.html for tests is located in application_root/src/tests directory. It has only one single line for tests loading :
index.spec.html
application_root/src/tests
WCT.loadSuites([<!--testSources-->]);
<!--testSources--> comment will be replaced with resolved tests pathes during build process.
<!--testSources-->
Last updated 7 years ago