mollie / mollie/mollie-api-python

Add tests for example code

Open
#242 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
127
Forks
53
PR merge metrics
No merged PRs in 30d

Description

The code in examples/ is currently untested: we assume that it works but this needs to be verified by hand after major changes, which is a hassle. It is possible to write some tests that start the application, configure it with test credentials and perform some actual payments against the actual Mollie API after each code change.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the code under examples/ and identify how each example starts the application, accepts configuration, and performs payments. Determine how test credentials and real Mollie API calls should be handled, then define tests that verify the examples after changes. Done means the example behavior can be checked automatically rather than by hand.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.