Beispiel #1
0
        public void TrySortTestsByClassLayout()
        {
            var correctOrder = type.GetMethods().Cast <MethodBase>().ToList();

            Specs.Sort((x, y) => correctOrder.IndexOf(x.Spec.CallingMethod).CompareTo(correctOrder.IndexOf(y.Spec.CallingMethod)));
        }