This subproject contains integration tests that verify the correct behavior of both the compiler and runtime components working together.
These tests:
- Compile
.inksource files using theCompiler - Execute the compiled stories using the
Runtime(Story class) - Verify the output matches expected behavior
The tests cover various Ink language features including:
- Basic text output
- Choices and branching
- Conditionals and sequences
- Diverts and knots
- Functions (internal and external)
- Gathers and stitches
- Glue
- Lists
- Tags
- Threads and multi-flow
- Tunnels
- Variables
- And more...
# Run all conformance tests
./gradlew :conformance-tests:test
# Run tests for the entire project
./gradlew testsrc/test/java/- JUnit test classessrc/test/resources/inkfiles/-.inksource files and their expected JSON output