cuioss / cui-jsf-test-basic

Provides classes and structures for testing of jsf components / structures

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cui-jsf-test-basic

What is it?

Extension for MyFaces-Test that uses the mock-based infrastructure and adds certain aspects in order to simplify its usage in the portal-context:

  • Convenient programmatic configuration of JSF-context

  • Specific base-classes for conveniently testing aspects like

    • AbstractBeanTest

    • AbstractValidatorTest

    • AbstractConverterTest

    • AbstractComponentTest

    • AbstractUiComponentTest

    • AbstractComponentRendererTest

  • Tooling for generating (partial-) HTML-trees including the corresponding Assertions

  • Additional Mocks completing the ones provided from myfaces-test

  • Integration into cui-test-value-objects framework

  • Baseline is JSF 2.3

Maven Coordinates

    <dependency>
        <groupId>de.cuioss.test</groupId>
        <artifactId>cui-jsf-test-basic</artifactId>
    </dependency>

Documentation

Roadmap

→ Switch to jakarta-ee-10: Precondition: myfaces-test for jsf 4 is available

About

Provides classes and structures for testing of jsf components / structures

License:Apache License 2.0


Languages

Language:Java 100.0%