Add tests before anyone touches old code

Devboxes adds tests that record how old code behaves today, before anyone reworks it.

  • Engineering
Search Acme

billing

2
  1. Fabian

    @Devboxes we're about to rework the dunning schedule. can you add tests for how it behaves today first, without changing it?

  2. Devboxes APP

    #60 adds 14 tests for the dunning schedule, covering weekend due dates, the grace period, paused subscriptions and the final notice. Only tests changed, and they all pass.

    GitHub

    #60 Cover the dunning schedule with tests

    Open devboxes/dunning-schedule-tests 3 checks passed

    Ready for review

acme / ledger

Cover the dunning schedule with tests #60

Open

devboxes[bot] wants to merge 1 commit into main from devboxes/dunning-schedule-tests

devboxes Bot reviewed 2 minutes ago View reviewed changes

devboxes Bot left a comment Author

Tests only. All 14 pass against today's code.

All checks have passed

3 successful checks

  • CI / Lint (pull_request) Details
  • CI / Typecheck (pull_request) Details
  • CI / Tests (pull_request) Details

This branch has no conflicts with the base branch

Merging can be performed automatically.

You can also merge this with the command line.

Files changed 1

  • test/dunning-schedule.test.ts +212 −0