private string method(Method method) { string ret = string.Empty; foreach (Domain.Entities.Test t in method.Tests) { ret += test(method, t); } return ret; }
private string test(Method method, Domain.Entities.Test t) { string ret = $@" /*{t.Description}*/ [Test] public void {t.Name}_Test() {{ }} "; return ret; }