Testing Composite Components

Test Oracle JET composite components using your favorite testing tools for client-side JavaScript applications.

Regardless of the test method you choose, be sure that your tests fully exercise the composite component’s:

  • ViewModel (if it exists)

    Ideally, your test results should be verifiable via code coverage numbers.

  • HTML view

    Be sure to include any DOM branches that might be conditionally rendered, and test all slots with and without default content.

  • Properties and property values

  • Events

  • Methods

  • Accessibility

  • Security

For additional information about testing Oracle JET applications, see Testing Oracle JET Applications.