should arrangement what's duty section exam runs?
as i am coding section tests, i tend i insert following lines:
console.writeline("starting interopapplication, runinbackground set true...");
try
{
interopapplication concentration = new interopapplication(true);
application.start();
console.writeline("application started correctly");
}
catch(exception e)
{
assert.fail(string.format("interopapplication unsuccessful start: {0}", e.tostring()));
}
//test formula continues ...
all tests graceful many same thing. displaying information since failed, displaying information doing. i haven't any formal methods section tests should coded. should displaying information doing? should tests speechless arrangement any information during doing, wholly arrangement disaster messages?
note: libel c#, nonetheless i don't caring libel specific answer.
Comments
Post a Comment