1. 17 Feb, 2021 1 commit
  2. 10 Feb, 2021 1 commit
  3. 08 Feb, 2021 2 commits
  4. 01 Feb, 2021 1 commit
  5. 30 Jan, 2021 1 commit
  6. 29 Jan, 2021 1 commit
  7. 25 Jan, 2021 2 commits
    • Ed Morley's avatar
      Tests: Cleanup of existing Hatchet tests (#1162) · fbfbeb36
      Ed Morley authored
      Prior to the recent shunit2 to Hatchet test conversion, there were
      already a few Hatchet tests. This cleans those up slightly:
      * Makes `ci_spec.rb` use a fixture in the repository, instead of a
        mixture of remote repository (`sharpstone/python_default`) and
        content written out at test runtime.
      * Removes `sharpstone/python_default` from `hatchet.json` since there
        is nothing left using it.
      * Renames `python_spec.rb` to `getting_started_spec.rb` since that's
        the only test left in that file.
      
      Closes @W-8786787@.
      
      [skip changelog]
      fbfbeb36
    • Ed Morley's avatar
      Tests: Replace Django shunit2 test with Hatchet tests (#1161) · 278fe9ce
      Ed Morley authored
      Completes the shunit2 -> Hatchet test conversion.
      
      These were the last shunit2 tests, so the testrunner, Makefile targets,
      documentation and Travis CI steps have been removed.
      
      There isn't yet a replacement Makefile target or documentation for the
      Hatchet tests, however the rspec tests are easier to run by calling
      rspec directly (compared to the in-Docker tests), and until it becomes
      clearer what rspec use-cases are most common, it's hard to know how to
      best structure the Makefile targets.
      
      Closes @W-8786699@.
      
      [skip changelog]
      278fe9ce
  8. 22 Jan, 2021 4 commits
  9. 20 Jan, 2021 1 commit
  10. 19 Jan, 2021 1 commit
  11. 18 Jan, 2021 5 commits
  12. 11 Jan, 2021 3 commits
  13. 08 Jan, 2021 2 commits
    • Ed Morley's avatar
      Tests: Clean up rspec config and improve testing UX (#1145) · 90f3eead
      Ed Morley authored
      * Removes redundant/unwanted options.
      * Enables use of `--only-failures` and `--next-failure`.
      * Enables use of the `fit`, `fcontext` and `fdescribe` aliases,
        for focusing the test run on a specific test/group.
      * Disables legacy rspec monkey-patching.
      
      Closes @W-8658521@.
      90f3eead
    • Ed Morley's avatar
      Tests: Stop using rspec-retry (#1144) · 393b62ec
      Ed Morley authored
      Since:
      * Hatchet already retries most API calls itself (`HATCHET_RETRIES`).
      * Hatchet/API reliability has increased over the years/months.
      * For any remaining intermittent failures, I'd rather have the test
        run fail so I can file issues upstream.
      
      Closes @W-8658268@.
      
      [skip changelog]
      393b62ec
  14. 07 Jan, 2021 2 commits
  15. 05 Jan, 2021 1 commit
    • Ed Morley's avatar
      Use Rubocop to lint tests (#1141) · 0274c951
      Ed Morley authored
      Added to the project using the steps here:
      https://docs.rubocop.org/rubocop/1.7/installation.html
      
      Then fixes applied using Rubocop's auto-correct feature, followed by
      one or two manual fixes, and then disabling the remaining less
      helpful rules.
      
      The required Ruby version has been added to `Gemfile` since rubocop
      can use it to determine whether to enable rules about more modern
      Ruby features.
      
      Closes @W-8620478@.
      
      [skip changelog]
      0274c951
  16. 04 Jan, 2021 3 commits
  17. 22 Dec, 2020 1 commit
  18. 21 Dec, 2020 1 commit
  19. 08 Dec, 2020 2 commits
  20. 30 Nov, 2020 1 commit
    • Ed Morley's avatar
      Check Changelog improvements (#1128) · 4d178466
      Ed Morley authored
      The Check Changelog GitHub action now:
      * is skipped for dependabot PRs
      * uses a more descriptive job name than `check`
      
      Closes @W-8052460@.
      Closes @W-8098931@.
      
      [skip changelog]
      4d178466
  21. 24 Nov, 2020 1 commit
  22. 18 Nov, 2020 1 commit
  23. 17 Nov, 2020 1 commit
    • Ed Morley's avatar
      Add a make target for running a local compile (#1123) · 74a6c86c
      Ed Morley authored
      It's often useful to be able to run a compile outside of the unit or
      Hatchet tests when developing the buildpack or debugging.
      
      Whilst running the compile locally inside Docker won't fully replicate
      a compile on the platform, for many use-cases it's close enough and
      importantly gives a faster development feedback loop, since buildpack
      changes don't have to be committed/pushed prior to triggering a compile.
      
      Closes @W-8436406@.
      74a6c86c
  24. 13 Nov, 2020 1 commit