Badgerati/Edison

View on GitHub

Showing 71 of 215 total issues

Method RunTestFixtureCases has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

        private void RunTestFixtureCases(Type testFixture, IEnumerable<TestCaseAttribute> cases, int testFixtureRepeat, IEnumerable<MethodInfo> fixtureSetup, IEnumerable<MethodInfo> fixtureTeardown)
Severity: Minor
Found in Edison.Engine/Threading/TestFixtureThread.cs - About 35 mins to fix

    Method RunTestCase has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            private void RunTestCase(MethodInfo test, TestCaseAttribute testCase, int testRepeat, IEnumerable<MethodInfo> setup, IEnumerable<MethodInfo> teardown)
    Severity: Minor
    Found in Edison.Engine/Threading/TestThread.cs - About 35 mins to fix

      Method ExpectUrl has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

              public virtual IAssert ExpectUrl(IBrowser browser, string expectedUrl, int attempts = 10, bool startsWith = false, string message = null)
      Severity: Minor
      Found in Edison.Framework/Asserts/Assert.cs - About 35 mins to fix

        Method GetMethods has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

                public IEnumerable<MethodInfo> GetMethods<T>(Type type,
                    IList<string> includedCategories = default(List<string>),
                    IList<string> excludedCategories = default(List<string>),
                    IList<string> tests = default(List<string>),
                    string suite = null) where T : Attribute
        Severity: Minor
        Found in Edison.Engine/Repositories/ReflectionRepository.cs - About 35 mins to fix

          Method ExpectElement has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

                  IAssert ExpectElement(IBrowser browser, HtmlIdentifierType identifierType, string expectedIdentifier, int attempts = 10, string message = null);
          Severity: Minor
          Found in Edison.Framework/Asserts/IAssert.cs - About 35 mins to fix

            Method ExpectElement has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                    public virtual IAssert ExpectElement(IBrowser browser, HtmlIdentifierType identifierType, string expectedIdentifier, int attempts = 10, string message = null)
            Severity: Minor
            Found in Edison.Framework/Asserts/Assert.cs - About 35 mins to fix

              Avoid too many return statements within this method.
              Open

                              return testFixtureDefault;
              Severity: Major
              Found in Edison.Engine/Repositories/ReflectionRepository.cs - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                return false;
                Severity: Major
                Found in Edison.Engine/Repositories/ReflectionRepository.cs - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return true;
                  Severity: Major
                  Found in Edison.Console/ParameterParser.cs - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                    return fixtureCategories.Any() && HasValidCategories(fixture, includedCategories, excludedCategories, false);
                    Severity: Major
                    Found in Edison.Engine/Repositories/ReflectionRepository.cs - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                  return true;
                      Severity: Major
                      Found in Edison.Engine/Repositories/ReflectionRepository.cs - About 30 mins to fix
                        Severity
                        Category
                        Status
                        Source
                        Language