Michael Ragazzon d5f215b5cb Trying to implement const support in data bindings (WIP) há 4 anos atrás
..
Data e945973c7a Drag clones are now positioned correctly when their ancestors use transforms, or when the cloned element uses auto- or percentage-margins. See #269. há 3 anos atrás
Dependencies 32f623ac21 Update doctest to 2.4.6 há 4 anos atrás
Output 7bcef8ee0a Update changelog and readmes. há 5 anos atrás
Source d5f215b5cb Trying to implement const support in data bindings (WIP) há 3 anos atrás
Tools 4d49fab326 Visual test suite CSS converter: Update for flexbox support há 4 anos atrás
CMakeLists.txt 1975953e04 Integrate the Trompeloeil mocking framework há 4 anos atrás
readme.md 7bcef8ee0a Update changelog and readmes. há 5 anos atrás

readme.md

RmlUi Test Suite

This directory contains tests and benchmarks for RmlUi. They have been separated into three projects located under the Source directory. These projects can be enabled using the CMake options BUILD_TESTING.

Visual tests

For visually testing the layout engine in particular, with small test documents that can be easily added. Includes features for capturing and comparing tests for easily spotting differences during development. A conversion script for the CSS 2.1 tests is available as described below.

Unit tests

To ensure smaller units of the library are working properly.

Benchmarks

Benchmarking various components of the library to keep track of performance increases or regressions for future development, and find any performance hotspots that could need extra attention.

Directory Overview

Data

This directory contains the shared style sheets and documents, as well as the source documents for the included visual tests. All documents located under Data/VisualTests/ will automatically be loaded by the visual tests project.

Dependencies

This directory contains additional libraries used by the test suite.

Output

By default, the visual tests will output screenshots and diff images into this directory, and read previous screenshots from this directory.

Use the CMake options VISUAL_TESTS_OUTPUT_DIRECTORY and VISUAL_TESTS_INPUT_DIRECTORY to specify other directories.

Source

Source code for the test suite.

Tools

Includes a best-effort conversion script for the CSS 2.1 tests, which includes thousands of tests, to RML/RCSS for testing conformance with the CSS specifications.