Financial Assurance Module
  • Financial Assurance Module Documentation
  • INTRODUCTION
    • Glossary / Terminology
    • FAQ
    • Releases / Changelog*
    • Report an Issue / Contact us
  • PRODUCT / END-USER DOCUMENTATION
    • Overview
      • User roles and permissions
    • Financial Assurance Module Navigation
    • Overall User Interface
    • Engagements section
      • Creation of Engagement
      • Reporting of Engagement
      • Submitting of Engagement
      • Finalize the Engagement
      • Export of Engagement
      • Cancellation of Engagement
    • Staff Spot Checks section
    • FAM workflow
  • TECHNICAL DOCUMENTATION
    • Architecture
    • Development Setup
    • Deployment / DevOps
    • Backend Module structure
    • Data Model
    • Fixtures & management commands
    • Integration with permissions framework
    • Interaction with VISION
    • API Documentation
      • Error Handling
    • Frontend
      • Module structure
      • Build process
      • Tests
Powered by GitBook
On this page
  • Run tests
  • Tests architecture
  1. TECHNICAL DOCUMENTATION
  2. Frontend

Tests

Run tests

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.

Tests architecture

All test files will have .spec postfix extention. For instance permission-controller.spec.html . Test files are placed in elements src directories.

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 :

WCT.loadSuites([<!--testSources-->]);

<!--testSources--> comment will be replaced with resolved tests pathes during build process.

PreviousBuild process

Last updated 6 years ago