protected void GetFm36LearnerForCollectionPeriod(string collectionPeriodText)
        {
            TestSession.CollectionPeriod = new CollectionPeriodBuilder().WithSpecDate(collectionPeriodText).Build();

            if (TestSession.FM36Global != null)
            {
                TestSession.PreviousFm36Global = TestSession.FM36Global;
            }

            TestSession.FM36Global = FM36GlobalDeserialiser.DeserialiseByFeatureForPeriod(featureContext.FeatureInfo.Title, TestSession.CollectionPeriod.Period.ToPeriodText());
            UpdateFm36ToUseLatestDates(TestSession.FM36Global);
        }
Beispiel #2
0
 protected void GetFm36LearnerForCollectionPeriod(string collectionPeriodText)
 {
     TestSession.CollectionPeriod = new CollectionPeriodBuilder().WithSpecDate(collectionPeriodText).Build();
     TestSession.FM36Global       = FM36GlobalDeserialiser.DeserialiseByFeatureForPeriod(featureContext.FeatureInfo.Title, TestSession.CollectionPeriod.Period.ToPeriodText());
 }