Closed D4nte closed 5 years ago
Can we not extract this fee logic into a smaller component that is less cumbersome to setup?
I don't see the value in doing this as I expect future changes to bobtimus to be minimals.
I see a lot of code repetition. Maybe we can indeed look into parameterized testing?
Yeah after thinking about it more I am going to action Thomas' comment.
🙃 I feel these tests are pretty much the same except from the input parameters (there are two scenarios though, accept and decline). Would it make sense to have parametrised tests for tests like this? Do we already have parametrised tests in place somewhere?