Showing 71 of 215 total issues
Method RunTestFixtureCases
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private void RunTestFixtureCases(Type testFixture, IEnumerable<TestCaseAttribute> cases, int testFixtureRepeat, IEnumerable<MethodInfo> fixtureSetup, IEnumerable<MethodInfo> fixtureTeardown)
Method RunTestCase
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private void RunTestCase(MethodInfo test, TestCaseAttribute testCase, int testRepeat, IEnumerable<MethodInfo> setup, IEnumerable<MethodInfo> teardown)
Method ExpectUrl
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public virtual IAssert ExpectUrl(IBrowser browser, string expectedUrl, int attempts = 10, bool startsWith = false, string message = null)
Method GetMethods
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
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
Method ExpectElement
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
IAssert ExpectElement(IBrowser browser, HtmlIdentifierType identifierType, string expectedIdentifier, int attempts = 10, string message = null);
Method ExpectElement
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public virtual IAssert ExpectElement(IBrowser browser, HtmlIdentifierType identifierType, string expectedIdentifier, int attempts = 10, string message = null)
Avoid too many return
statements within this method. Open
Open
return testFixtureDefault;
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return true;
Avoid too many return
statements within this method. Open
Open
return fixtureCategories.Any() && HasValidCategories(fixture, includedCategories, excludedCategories, false);
Avoid too many return
statements within this method. Open
Open
return true;