mercredi 22 février 2017

Getting parameters in integration testing MSTesting C#

I need to get a lot of parameters to dynamically build a test method. My limits is it has to be in MSTest and C#. What I'm thinking is something of the likes of:

[TestMethod] public void test1 (int x, int y, string url, double l) { // Use parameters here }

I know this is not possible, I get that. But that is ultimately what I need to get. Can anyone share some insight on this? Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire