mardi 20 janvier 2015

How to unit test in this scenario

I'm trying to unit test some payment code. The system requires that you post within an iframe and it returns a generated token.


Bottom line: I need to get the generated token for TestSetup.


How would you go about testing this?


I'm not looking for code examples, just some ideas on unit testing and how you would approach this problem.


Aucun commentaire:

Enregistrer un commentaire