private Topic BuildTopics() { using (md5 = HashAlgorithm.Create("MD5")) { RootTopic = Topic.Create(TopicType.FeatureSet, CreateTopicId("Documentação Funcional"), "Documentação Funcional", gherkinFeaturesPath, gherkinFeaturesLanguage, builder.ProjectFolder); BuildTopicsTree(gherkinFeaturesPath, RootTopic); } RootTopic.Load(); return RootTopic; }
private static void LoadChildTopic(Topic topic) { try { topic.Load(); } catch (SpecFlowParserException ex) { Exception newEx = new Exception(topic.SourcePath + ": " + ex.Message, ex); throw newEx; } }