Package org.apache.juneau.console.test
package org.apache.juneau.console.test
Test helpers for console pages:
PageContractAssert asserts on the
#juneau-page contract of a rendered page instead of on rendered chrome HTML, and
AssetResolutionAssert asserts that every asset a page links resolves.
Main scope on purpose: adopters already depend on juneau-console. The package has no
test-framework dependency; failures are plain AssertionErrors.
- Since:
- 10.0.0
-
ClassesClassDescriptionTest helper that checks every asset a rendered console page links (stylesheets, scripts, images, icons) actually resolves.Test helper that extracts the
#juneau-pagecontract and<template>ids from a rendered console page, validates them againstPageContractSchema, and offers fluent assertions so adopters assert on the contract instead of on rendered chrome HTML.