data-infra icon indicating copy to clipboard operation
data-infra copied to clipboard

Developer sees unit test coverage for Littlepay v3 parsing

Open ohrite opened this issue 3 months ago • 0 comments

As a developer making changes to the Littlepay V3 parse logic, When I make a breaking behavior change, I can run pytest and see a corresponding failure message


Notes:

  • Follow the example of other Operator tests in the airflow/tests/operators/ path
  • Do not test the inside of the space capsule https://speakerdeck.com/skmetz/magic-tricks-of-testing-railsconf
  • The result artifact should be in a predictable location, and containing the same information, given the inputs
  • If your test depends on fixture data, such as a file at a specific location, make sure it’s there in setup
  • More integration is better than less integration

ohrite avatar Oct 07 '25 16:10 ohrite