OpenBankProject / OpenBankProject/OBP-API
Tests refactoring
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 1.7k
- Forks
- 482
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 15
Description
Consider:
LocalMappedConnectorTestSetup
(Bethge)
//TODO: replace all these helpers with connector agnostic methods like createRandomBank
// that call Connector.createBank etc.
// (same in LocalConnectorTestSetup)
// Tests should simply use the currently selected connector
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading LocalMappedConnectorTestSetup and LocalConnectorTestSetup, then inspect the TODO describing connector-agnostic helpers such as createRandomBank and Connector.createBank. Determine the full set of helpers to replace and verify that tests use the currently selected connector when the refactor is complete.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- testing
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100