Skip to content

Add spec module#3

Merged
martypitt merged 9 commits intomainfrom
add-spec-module
Feb 26, 2026
Merged

Add spec module#3
martypitt merged 9 commits intomainfrom
add-spec-module

Conversation

@martypitt
Copy link
Contributor

@martypitt martypitt commented Feb 26, 2026

Adds a new spec format - markdown files, and an SDK for creating them

martypitt and others added 9 commits February 25, 2026 15:12
Introduces the preflight-spec module — a standalone markdown parsing/writing
library for Preflight test spec files. Each spec is a markdown file that
serves as both living documentation and a machine-parseable test definition.

- New module: preflight-core/preflight-spec with TestSpecReader, TestSpecWriter,
  data model (TestSpec, Stub, StubMode), and internal parsers for front matter
  and HTML comment directives
- 46 tests covering parsing, writing, round-trip, and error cases
- MarkdownSpec base class in preflight-runtime for executing spec files as
  Kotest tests
- Upgraded all Gradle wrappers from 8.13 to 9.3.1 (bundles Kotlin 2.2.21,
  required for Orbital 0.37.0-SNAPSHOT compatibility)
- Fixed KafkaContainerSupport for removed emitConsumerInfoMessages parameter
- Removed broken ExamplesSpec that referenced compileOnly types from test source

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The Expected Results code block info string can now include a format
qualifier (e.g. `json typedInstance`) to distinguish plain JSON from
Orbital TypedInstance JSON. Defaults to plain JSON for backwards
compatibility.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The Gradle plugin now generates a PreflightSpecRunner test class that
extends MarkdownSpec, so any .spec.md files in test-resources/specs/
are automatically discovered and run as tests without hand-written code.

MarkdownSpec now filters for the .spec.md suffix specifically.

Includes a new spec-project example demonstrating spec-only testing
with no Kotlin test files required.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add build/release documentation covering local builds, Maven Local
publishing, version bumping, and the release process.

Fix release.yml to also publish preflight-spec to the Orbital Maven
repo and add missing AWS credentials for S3 authentication.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@netlify
Copy link

netlify bot commented Feb 26, 2026

Deploy Preview for orbital-preflight ready!

Name Link
🔨 Latest commit e4b254b
🔍 Latest deploy log https://app.netlify.com/projects/orbital-preflight/deploys/69a070baedf26a00084803db
😎 Deploy Preview https://deploy-preview-3--orbital-preflight.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@martypitt martypitt merged commit 788b5e3 into main Feb 26, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant