-
Notifications
You must be signed in to change notification settings - Fork 4
Add llms.txt for AI assistant discoverability #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+34
−0
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| # Spock Framework | ||
|
|
||
| > Spock is an enterprise-ready specification and testing framework for Java and Groovy | ||
| > applications. Its expressive, BDD-style specification language is highly readable, | ||
| > with first-class data-driven testing, powerful built-in mocking/stubbing, and seamless | ||
| > JUnit Platform integration so it runs anywhere JUnit does. | ||
|
|
||
| Spock specifications are written in Groovy and run on the JVM. The reference documentation | ||
| is versioned; the link below is a machine-readable index of every published version. | ||
|
|
||
| ## Documentation | ||
| - [Reference documentation index](https://spockframework.org/spock/docs/llms.txt): machine-readable index of all documentation versions (latest stable + development snapshot) with a URL template for fetching individual pages as Markdown. | ||
| - [Documentation home](https://spockframework.org/spock/docs/): latest reference documentation in the browser. | ||
| - [API (Javadoc)](https://spockframework.org/spock/javadoc/current): API documentation for the current release. | ||
|
|
||
| ## Source & community | ||
| - [GitHub repository](https://github.com/spockframework/spock): source code and issue tracker. | ||
| - [Example project](https://github.com/spockframework/spock-example): runnable starter project for Gradle and Maven. | ||
| - [Discussions](https://github.com/spockframework/spock/discussions): questions and announcements. | ||
| - [Stack Overflow](https://stackoverflow.com/questions/tagged/spock): community Q&A under the `spock` tag. | ||
|
|
||
| ## Optional | ||
| - [Try Spock online](https://groovyconsole.dev/?g=groovy_4_0&gist=437e9026ff86d2d709c2c56eb7e2eef1): runnable example in the Groovy web console. | ||
| - [Maven Central](https://search.maven.org/search?q=g:org.spockframework): released artifacts. | ||
|
|
||
| ## Modules | ||
| - `spock-core`: the core specification framework — the only dependency most projects need. | ||
| - `spock-bom`: bill of materials that aligns the versions of all Spock modules. | ||
| - `spock-spring`: integration with Spring's TestContext framework, including Spring Boot test annotations such as `@SpringBootTest` and `@WebMvcTest`. | ||
| - `spock-junit4`: support for JUnit 4 rules (`@Rule`/`@ClassRule`). | ||
| - `spock-guice`: integration with the Guice dependency-injection container. | ||
| - `spock-tapestry`: integration with the Tapestry5 inversion-of-control container. | ||
| - `spock-unitils`: integration with the Unitils testing library. | ||
| - `spock-testkit`: JUnit Platform Test Kit-based support for testing the Spock execution engine. | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Broken documentation index link on Line 12.
https://spockframework.org/spock/docs/llms.txtcurrently resolves to 404, so this pointer won’t help agents discover versioned docs. Please update this to a live URL (or defer publishing this link until the target exists).🤖 Prompt for AI Agents
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will be added by spockframework/spock#2360
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@leonard84Thanks for the context! That makes sense — once spockframework/spock#2360 is merged the URL will be live. Just worth keeping in mind that if this PR lands onmasterbefore that companion PR is merged and deployed, the link inllms.txtwill temporarily 404 for any agent that crawls it in the interim. If the deployment pipelines are coupled or you plan to merge them together, that's fine.