Why is my Test method called as often as many chars the _ConnectionString returns???
The con variable in the test method gets always passed the next char of the ConnectionString property like
con = d
con = a
con = t
con = a
con = s
...
which is the data source of the connection String etc...
private static string _ConnectionString;
public static string ConnectionString
{
get
{
var conf = ConfigurationManager.ConnectionStrings["DefaultConnection"];
_ConnectionString = conf.ConnectionString;
return _ConnectionString;
}
}
[Test]
[Factory("ConnectionString")]
public void TestMe(string con)
{
}