Skip to content

v0.2.0: Java support

Choose a tag to compare

@kavitaj11 kavitaj11 released this 13 Nov 05:09
· 4 commits to main since this release
  • Java projects: JUnit 5 and TestNG suites run with Maven or Gradle (or their wrappers). The project's language is detected from pom.xml / build.gradle, or set with QA_MCP_LANGUAGE.
  • Java locators everywhere: By.id(...)-style calls, @FindBy(...) (including how = How.X, using = "..."), and By.toString() from Selenium exceptions. Tools return locators in the project's language.
  • heal-ci for Java: edits By calls and @FindBy annotations in tests and Page Objects, re-runs the healed tests, reverts any that still fail. For Java runs, the page is found from the locator's baseline.
  • Story to test: JUnit 5 or TestNG skeletons (package and class_name options); write_test writes .java files under src/test/java/ only.
  • Baselines use one canonical key, so Python and Java suites for the same app can share .qa-mcp/baselines.json.