Пример #1
0
        protected TestFile GetFullPathToTestFeatureFile(string testFeatureFile, string category, string filePostfix)
        {
            var fullPathToTestFeatureFile = Path.Combine(TestFileProvider.GetTestFileFolder(category), testFeatureFile);

            var featureFileFolder = Path.GetDirectoryName(fullPathToTestFeatureFile);

            Debug.Assert(featureFileFolder != null);
            var expectedAstFile = fullPathToTestFeatureFile + filePostfix;

            return(new TestFile()
            {
                FullPath = fullPathToTestFeatureFile,
                ExpectedFileFullPath = expectedAstFile
            });
        }