Creating Tests at Runtime
Posted
by James Thigpen
on Stack Overflow
See other posts from Stack Overflow
or by James Thigpen
Published on 2010-04-20T20:34:06Z
Indexed on
2010/04/20
20:53 UTC
Read the original article
Hit count: 179
Are there any .NET testing frameworks which allow dynamic creation of tests without having to deal with a hokey Attribute syntax?
Something like:
foreach (var t in tests)
{
TestFx.Run(t.Name, t.TestDelegate);
}
But with the test reporting as you would expect...
I could do something like this with RowTests et al, but that seems hokey.
© Stack Overflow or respective owner