TestCase and TestCaseSource


I would like support for TestCase and TestCaseSource (mostly the later) to enable data-driven testing. This is something I really need in a project I just ported to wp7.1 but still can't do testing cause unitdriven lacks support for this.


justinc wrote Dec 2, 2011 at 12:52 AM

I'm on it.

justinc wrote Dec 2, 2011 at 2:31 PM

I've checked in support for [TestCase(...)] this morning if you want to try to build from source it might unblock you. I haven't tested out all of the edge cases yet but it's basically working. I will finish it up and work on TestCaseSource next.

wrote Dec 2, 2011 at 2:32 PM

Alxandr wrote Dec 2, 2011 at 4:22 PM

Don't worry, I'm not in a hurry :). I just found a major issue with the tests which means I can't run them on the wp7.1 yet anyhow. A couple of the tests currently goes wild, running on full cpu and eating all my ram (10+GB) xD, so in order to get the tests to work on PC I had to fork a process for the tests, run the test in another process which I can kill if the test times out, though I highly doubt the WP7.1 will let me do that :-/, so I need the framework guy to fix a few things for me first, so the test doesn't result in a while(true) loop.

justinc wrote Dec 2, 2011 at 6:17 PM

Yeah, you might need to fix that first ;)

wrote Feb 13, 2013 at 1:39 AM