Open jedateach opened 10 years ago
It is tricky to write unit tests for apps that use the omnipay module. You currently need to replicate much of the setup used in the omnipay tests.
Currently difficult:
This needs to be documented.
It may be worth making this improvement at the same time as upgrading to omnipay v2 #23
Also, worth documenting is how to mimic another running session, by creating a new TestSession during the test.
TestSession
Related #71
It is tricky to write unit tests for apps that use the omnipay module. You currently need to replicate much of the setup used in the omnipay tests.
Currently difficult:
This needs to be documented.
It may be worth making this improvement at the same time as upgrading to omnipay v2 #23
Also, worth documenting is how to mimic another running session, by creating a new
TestSession
during the test.