private static void readLifecycle(Test test, INode element)
{
string lifecycleString = element["lifecycle"];
if (lifecycleString.IsEmpty()) return;
var lifecycle = (Lifecycle) Enum.Parse(typeof (Lifecycle), lifecycleString, true);
test.Lifecycle = lifecycle;
}