Beispiel #1
0
        private static OverallAnalysisResult GetOverallAnalysisResult(
            PlayerImplementationRunResult playerImplementationRunResult, PlayerTestsRunResult playerTestsRunResult,
            PlayerTestsPlayerImplementationRunResult playerTestsPlayerImplementationRunResult, Type kataTestsType)
        {
            var testMethodsRetriever = new TestMethodsRetriever();
            var goldenTestMethods    = testMethodsRetriever.GetTestMethods(kataTestsType);

            var overallAnalysisResult = new OverallAnalysisResult(
                playerImplementationRunResult,
                playerTestsRunResult,
                playerTestsPlayerImplementationRunResult,
                goldenTestMethods);

            return(overallAnalysisResult);
        }
Beispiel #2
0
        private PlayerFeedback DeterminePlayerFeedback(OverallAnalysisResult overallAnalysisResult)
        {
            var progressReporter = new FeedbackGenerator();

            return(progressReporter.GeneratePlayerFeedback(overallAnalysisResult));
        }