Skip to main content

10 docs tagged with "testing"

View all tags

How to add end-to-end tests

The foundation-testing package is a comprehensive framework for implementing End-to-End (E2E) testing. Use it to ensure that your Genesis Web Application provides a seamless user experience by testing workflows and user interactions across various scenarios.

How to prepare automated tests

Whichever component of your application you are testing, there is a simple set of tools that you can use. This page looks at those tools and the dependencies that you must declare before you can start automated testing.

How to unit-test the front end

You can use the foundation-testing package to ensure that your Genesis Web Application provides a seamless user experience by testing components, functions and user interactions across various scenarios.

Legacy Testing API

The test-support classes on this page are still part of Genesis Server Framework (GSF) 10.0, but they are deprecated. Existing tests that use them still compile and run, with deprecation warnings when you build them.

Stubbing

A common pattern for unit testing is mocking out functions and data.

Testing

foundation-testing is a comprehensive framework for Unit and End-to-End (E2E) testing, designed to validate components, user interactions, and workflows. Fully compatible with Genesis, React, and Angular frameworks, it ensures that your application can deliver a seamless and reliable user experience across diverse scenarios.

Testing API

Genesis provides JUnit 6 (JUnit Jupiter) support for integration tests. Tests start the Genesis services they need, so you can test your server code end to end.

Testing API (Spring)

JUnit 6 (JUnit Jupiter) support for Spring-based Genesis applications, parallel to GenesisJunit. Genesis 10.0 manages the JUnit 6 version through the platform BOM, so you don't declare it yourself.

Testing utilities

The Genesis Application Platform provides a collection of utilities, mocks, and helpers designed to facilitate effective and streamlined testing of web applications. This documentation outlines the key components and provides examples that demonstrate their use in testing scenarios.