Git Product home page Git Product logo

stylecop.unittesting's People

Contributors

unger avatar

Watchers

 avatar  avatar  avatar

stylecop.unittesting's Issues

Breaking changes in StyleCop

Hello,

First ever issue posted? I feel honored...

I have discovered that there is a breaking change in StyleCop, apparently others have encountered the same thing in related projects, StyleCop+, for example.

Along these lines, the get_Location() has changed:

Exception occurred: System.MissingMethodException, Method not found: 'StyleCop.CodeLocation StyleCop.CSharp.CodeUnit.get_Location()'.

Failed to violate rule ParametersShouldBeMeaningfullyNamed on line 9.
   at NUnit.Framework.Assert.Fail(String message, Object[] args)
   at StyleCopNUnit.StyleCopTest.AssertViolated(String ruleName, Int32[] lineNumbers)
   at StyleCopNUnit.StyleCopNUnitFixture.b__0(KeyValuePair`2 v) in StyleCopNUnitExtensions.cs: line 103
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at StyleCopNUnit.StyleCopNUnitFixture.Dispose() in StyleCopNUnitExtensions.cs: line 103
   at My.StyleCop.Extensions.Tests.CustomRuleTests.TestMyRule() in CustomRuleTests.cs: line 30

Anyhow, would you mind take a look at this? Ideally, I'd like to use this without having to reinvent much of the wheel. I've found this, combined with a simple disposable StyleCopTestFixture, does pretty well to encapsulate the issue of debugging custom rules.

Thank ye...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.