Module component_testing

Module component_testing 

Source
Expand description

Component testing utilities for tailwind-rs

Structs§

TestApp
A test application for component testing
TestComponent
A test component with metadata

Functions§

create_test_app
Create a test app with default configuration
create_test_app_with_config
Create a test app with custom configuration
extract_classes
Extract CSS classes from a component
extract_classes_from_html
Extract CSS classes from HTML string
render_to_string
Render a component to HTML string
test_component_classes
Test a component’s classes
test_component_custom_properties
Test a component’s custom properties
test_component_html
Test a component’s HTML structure