Skip to content

v1.0.0

Choose a tag to compare

@MarioRuiz MarioRuiz released this 23 Sep 11:59
· 8 commits to master since this release

Added

  • CreateTests::VERSION and a --version / -v flag
  • return_data and --dry_run / -d
  • Configurable spec_dir and settings_dir
  • Mock-response, fuzz, and field-by-field tests
  • Prerequisite setup/cleanup in helper/setup.rb and helper/cleanup.rb, with DONT_DELETE and a per-spec name suffix
  • cleanup: :after_all (default), :after_each, or false, plus --cleanup_each and --no_cleanup
  • GitHub Actions CI and a unit test suite

Changed

  • BREAKING: minimum Ruby is 3.0 (was 2.7)
  • nice_hash requirement is ~> 1.19
  • Successful-response checks use NiceHttp.validate_response with a diff
  • eval removed; rescue Exception narrowed to StandardError

Fixed

  • Sibling modules were dropped while collecting endpoints
  • Generated settings require the requests file with a path relative to settings_dir (symlink-safe)
  • spec/helper.rb requires setup/cleanup only when those files are generated
  • Setup stubs return OpenStruct so expect(...).state works
  • Append mode no longer overwrites existing helper/setup.rb and helper/cleanup.rb
  • cleanup: :after_each moves after(:all) cleanup into after(:each)
  • Settings header typo: "Auhentication" → "Authentication"

Removed

  • Travis CI
  • Coveralls (SimpleCov remains for local coverage)