Skip to content

1.4.1

Choose a tag to compare

@authorjapps authorjapps released this 08 May 22:07
· 20 commits to master since this release
7271cfc
org.jsmart zerocode-tdd 1.4.1 test

🚀 What's New in 1.4.1

This release fixes a classpath scanning bug that caused ZipException on corrupt JARs,
improves test runner annotation priority, and includes a deprecation of @JsonTestCases.


🐛 Bug Fixes

  • ZipException on corrupt JARs during classpath scan: Replaced ClassPathFactory.createFromJVM()
    with ClassLoader.getResources(packageName) in SmartUtils.getAllEndPointFiles().
    Old approach opened every JAR on the JVM classpath; new approach only opens JARs containing
    the target package, and skips corrupt JARs with a warning instead of failing the run.
    @nirmalchandra

  • Remove $schema property from scenario JSON schema (Fixes #761):
    Removed the $schema field that caused validation issues in certain tooling.
    Details: #762@mvanhorn


✨ Features & Enhancements ─

  • @Scenarios / @JsonTestCases take priority over zerocode.folder:
    When explicit file-level annotations are present, the zerocode.folder system property
    is no longer evaluated — it is a folder-level concern and does not apply to individual
    scenario file annotations.
    @nirmalchandra

⚠️ Deprecations

  • @JsonTestCases deprecated: Use @Scenarios with @Scenario instead.
    @JsonTestCases will be removed in a future release.
    @nirmalchandra

PRs merged in this release

  1. #762 — Remove $schema from scenario schema
  2. (SmartUtils ZipException fix)@nirmalchandra
  3. PR link: #764
  4. (Runner annotation priority + @JsonTestCases deprecation)@nirmalchandra

Contributors

@nirmalchandra, @mvanhorn