Multi-Protocol Coverage
Test across every financial communication channel in a single framework
FIX Protocol (4.2, 4.4, 5.0)
WireMock-like stubbing via FixStubRegistry with predicate matching, sequential responses, configurable delays, and call counting through QuickFIX/J.
Message Queues
ActiveMQ Artemis via Jakarta JMS with pluggable MessageBroker interface. IBM MQ skeleton ready for extension. Pub/sub with filtered listening.
REST + OAuth2
RestAssured wrapper with automatic OAuth2 token lifecycle — acquisition, caching, and refresh 60 seconds before expiry. Typed API clients included.
ISO 20022 (SWIFT)
AI-powered XML generation for pacs.008, camt.053, and sese.023 messages via SmartStub with deterministic template fallback for CI.
4-Layer Concentric Architecture
Clean separation of concerns with extensibility at every level
Built for Financial Systems
Enterprise capabilities for mission-critical test automation
AI-Powered Testing
NLP-to-FIX translation via FixScenarioAgent converts natural language like "Buy 500 AAPL at 150 Limit" into structured OrderConfiguration objects. Pluggable LLM providers (OpenAI, Ollama) with template fallback.
Cross-Source Reconciliation
Three-way field-by-field comparison of trade records from FIX, MQ, and API sources with configurable tolerance. TradeLedgerAssert provides a fluent assertion DSL.
Statistical Data Generation
MarketMaker generates realistic prices (Gaussian), volumes (Poisson), correlated series (Cholesky), settlement dates (T+N with NYSE/LSE/TSE calendars), and unique identifiers.
Rich Allure Reports
AllureFixAttachment formats FIX messages for human readability. ReconciliationReportStep creates detailed tabular comparison steps with pass/fail status.
Dual-Mode Testing
TestNG via QuantafBaseTest for direct Java testing, or Cucumber BDD with Gherkin feature files and OrderStepDefs. Both modes generate Allure-compatible results.
CI/CD Ready
GitHub Actions workflows for build/test and docs deployment. Docker Compose for local ActiveMQ Artemis. Testcontainers for ephemeral CI infrastructure.
Technology Stack
Modern, battle-tested libraries for enterprise reliability
Quick Start
Up and running in under a minute
# Clone the repository
git clone https://github.com/vinipx/QUANTAF.git
cd QUANTAF
# Build the project
./gradlew build
# Run all tests (unit + scenario + BDD)
./gradlew test
# Generate Allure reports
./gradlew allureReport
# Serve documentation locally
./docs.sh