A Simple way to run Tests with Actual Parameters(www.futureofcoding.com)
submitted by
rafi(87) 1 year, 5 months ago
Without further ado then: the idea is to just record actual parameters from you application in JSON form, and then use that in a simple Integration/ Unit Test. There are simply three steps to this:
1. Create a generic method to write to an xml file some string values.
2. Access the xml file in your test.
3. De-serialize and Use.
|category: Unit Testing
|Views: 4
tags:
Testing another
Everyones tags:
Your Tags: