janhoy opened a new pull request, #5338: URL: https://github.com/apache/solr/pull/5338
🤖 A guide to which kind of test to write and the conventions they all share: the harnesses and what each costs, how to choose between them, randomized testing, the rules `SolrTestCase` already installs, Testcontainers for external services, waiting rather than sleeping, and a worked example per kind. `AGENTS.md`'s Writing Tests section becomes a pointer at it, keeping only what the guide does not cover — the BATS `run`/`assert_output` conventions stay here until SOLR-18645 removes BATS. Split out of #5323 on review feedback (@epugh asked for it there). **This should land first** — #5323 then layers its CATS-specific additions on top rather than carrying the whole document. Everything describes `main` as it is today: every path, class and Gradle task it names was checked against `main`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
