Ecosyste.ms: Issues

An open API service for providing issue and pull request metadata for open source projects.

GitHub / moq/moq4 issues and pull requests

#1344 - Functionality Request. Verify Mock using the Mock Setup as base.

Issue - State: open - Opened by tlogik over 1 year ago - 1 comment

#1341 - IProtectedMock fails on a new virtual methods

Issue - State: open - Opened by VladimirKhvostov over 1 year ago

#1340 - Appveyor (CI): Strong name signature verification error fails builds & blocks next version release

Issue - State: open - Opened by stakx over 1 year ago
Labels: up-for-grabs, help wanted

#1338 - Can't mock a method with generic parameter and new() constraint C# Framework 4.8

Issue - State: closed - Opened by Matt-at-Hyland over 1 year ago - 2 comments
Labels: invalid

#1337 - Mocking derived classes of Exception results in .Object being null

Issue - State: open - Opened by KWodarczyk over 1 year ago - 3 comments
Labels: needs-repro

#1336 - ⬆️ Bump files with dotnet-file sync

Pull Request - State: open - Opened by devlooped-bot over 1 year ago - 2 comments
Labels: dependencies

#1334 - Mocking an interface that has a sealed implementation of a method

Issue - State: open - Opened by ricardo-noyolalozano over 1 year ago - 1 comment
Labels: dynamicproxy

#1333 - mockObject.Verify does not record args passed in multiple calls as separate cloned objects (not pointing to the same reference)

Issue - State: closed - Opened by aqib-bhat over 1 year ago - 4 comments
Labels: duplicate, question, by design

#1332 - base class can not be mocked

Issue - State: closed - Opened by MiaHesham over 1 year ago - 1 comment

#1330 - Issue with multiple identical setups

Issue - State: open - Opened by koder-man over 1 year ago - 1 comment

#1329 - Proper usage of It.IsAnyType

Issue - State: open - Opened by marbletravis over 1 year ago - 2 comments
Labels: needs-repro

#1327 - Add/support Target Framework net7.0

Issue - State: closed - Opened by Adam-S-Daniel over 1 year ago - 2 comments

#1326 - How can I setup a multi-item task list with moq

Issue - State: closed - Opened by ricirt over 1 year ago - 1 comment
Labels: question, needs-repro

#1324 - Mock method with Expression as parameter.

Issue - State: closed - Opened by balajis-13395 over 1 year ago - 1 comment

#1323 - C# Xunit & Moq mocking generic repository, unitOfWork repository always returns null

Issue - State: open - Opened by deva7mad over 2 years ago - 1 comment
Labels: needs-repro

#1322 - Use PackageLicenseExpression instead of PackageLicenseUrl

Pull Request - State: closed - Opened by wismann over 1 year ago - 2 comments

#1321 - Question: Using local variables in .Returns()

Issue - State: closed - Opened by m-redding over 1 year ago - 3 comments
Labels: question

#1319 - Add `setup.Verifiable(Times times, [string failMessage])` method

Pull Request - State: closed - Opened by stakx almost 2 years ago - 2 comments
Labels: enhancement

#1318 - Update version to 4.18.4

Pull Request - State: closed - Opened by stakx almost 2 years ago

#1317 - Update DynamicProxy to version 5.1.1

Pull Request - State: closed - Opened by stakx almost 2 years ago

#1316 - Verify evaluates the same object on reuse

Issue - State: closed - Opened by lund76 almost 2 years ago - 3 comments
Labels: duplicate, question, by design

#1315 - cannot verify on HttpMessageHandler SendAsync when calling HttpClient.PostAsync

Issue - State: closed - Opened by elvia-jorn almost 2 years ago - 7 comments
Labels: invalid

#1314 - Verifying a protected generic method that returns a value is broken

Issue - State: closed - Opened by nthornton2010 almost 2 years ago - 1 comment
Labels: bug

#1313 - Add `Mock<T>.RaiseAsync`

Pull Request - State: closed - Opened by stakx almost 2 years ago

#1312 - Moq Object returns 0 for the overridden GetHashCode() present in BaseClass.

Issue - State: closed - Opened by yasirthite almost 2 years ago - 2 comments
Labels: question

#1311 - Ignoring latest setup

Issue - State: closed - Opened by DVH-H almost 2 years ago - 1 comment
Labels: needs-repro

#1310 - Is there a `RaiseAsync` method for raising `Func<..., Task>` events?

Issue - State: closed - Opened by simonness almost 2 years ago - 8 comments
Labels: enhancement

#1309 - Invocation count incorrect. Argument object is stored as reference and is changed incorrectly

Issue - State: closed - Opened by rufusz almost 2 years ago - 2 comments
Labels: by design

#1308 - Weird exception when mocking interface with SignalRHubAttribute applied

Issue - State: closed - Opened by kimbirkelund almost 2 years ago - 10 comments
Labels: dynamicproxy

#1307 - +Mᐁ includes

Pull Request - State: closed - Opened by devlooped-bot almost 2 years ago - 2 comments
Labels: docs

#1306 - Update version to 4.18.3

Pull Request - State: closed - Opened by stakx almost 2 years ago - 1 comment

#1305 - Improve a exception message for extension methods.

Issue - State: closed - Opened by motz-art almost 2 years ago - 3 comments
Labels: enhancement, up-for-grabs

#1304 - How does one persist the internal memory cache of processed Mock<T> types?

Issue - State: closed - Opened by Jothay almost 2 years ago - 2 comments
Labels: question, performance, known limitation

#1303 - Testing non virtual public methods

Issue - State: closed - Opened by carzaza almost 2 years ago - 1 comment

#1302 - Moq 4.18.3 Release still pending

Issue - State: closed - Opened by THQ-WIFA almost 2 years ago - 1 comment

#1301 - Mocking a method that takes an in parameter

Issue - State: closed - Opened by foxesknow almost 2 years ago - 1 comment
Labels: enhancement, unresolved, known limitation

#1300 - ⬆️ Bump files with dotnet-file sync

Pull Request - State: closed - Opened by devlooped-bot almost 2 years ago
Labels: dependencies

#1299 - ⬆️ Bump files with dotnet-file sync

Pull Request - State: closed - Opened by devlooped-bot almost 2 years ago
Labels: dependencies

#1298 - Update moved artifacts in upstream repos

Pull Request - State: closed - Opened by kzu almost 2 years ago

#1297 - "Invalid Callback" in NonVoidSetupPhrase.Returns -> ValidateCallbackReturnType is not informative or actionable

Issue - State: open - Opened by Prinsn almost 2 years ago - 2 comments
Labels: enhancement

#1296 - Allow passing method parameters to Throws/ThrowsAsync

Issue - State: open - Opened by jdx-john almost 2 years ago
Labels: enhancement

#1295 - Setup generic dynamic return

Issue - State: closed - Opened by matthiaslischka almost 2 years ago - 2 comments
Labels: question

#1294 - Fix typo in the documentation of Mock`1.cs #1

Pull Request - State: closed - Opened by valentin-p almost 2 years ago - 2 comments

#1293 - Cannot mock non-virtual "interface" method on abstract class

Issue - State: closed - Opened by drieseng almost 2 years ago - 1 comment
Labels: question

#1292 - Mocking dependency with `in` keyword parameter does not match

Issue - State: closed - Opened by khurd21 almost 2 years ago - 1 comment

#1291 - `EmptyDefaultValueProvider` should support `IReadOnlyCollection`

Issue - State: open - Opened by coenvk about 2 years ago - 2 comments
Labels: duplicate, enhancement

#1290 - Check sonarcloud

Pull Request - State: closed - Opened by radislavkireev about 2 years ago - 1 comment

#1289 - Invocation failed with minimal example

Issue - State: closed - Opened by maxnatamo about 2 years ago - 1 comment
Labels: invalid

#1288 - Moq fails when a method with input parameter of type Expression<Func<T,bool>> is called

Issue - State: closed - Opened by Arulselvan2408 about 2 years ago - 1 comment
Labels: needs-repro

#1287 - Use Moq as a proxy

Issue - State: closed - Opened by apazureck about 2 years ago - 5 comments

#1286 - System.InvalidProgramException : Cannot create boxed ByRef-like values.

Issue - State: closed - Opened by RohitBinjola about 2 years ago - 1 comment
Labels: known limitation

#1285 - TargetParameterCountException when using event Raise with Moq

Issue - State: closed - Opened by PavelReichl about 2 years ago - 3 comments
Labels: needs-repro

#1284 - Setup of a property that's overridden

Issue - State: closed - Opened by maxxie85 about 2 years ago - 2 comments
Labels: question

#1283 - ⬆️ Bump files with dotnet-file sync

Pull Request - State: closed - Opened by devlooped-bot about 2 years ago
Labels: dependencies

#1282 - +Mᐁ includes

Pull Request - State: closed - Opened by devlooped-bot about 2 years ago
Labels: docs

#1280 - +M▼ includes

Pull Request - State: closed - Opened by github-actions[bot] about 2 years ago

#1279 - Update and maintain list of sponsors automatically

Pull Request - State: closed - Opened by kzu about 2 years ago

#1278 - `SetupAllProperties` crashes when invoked on a `Mock<T>` subclass

Issue - State: closed - Opened by mo-russo about 2 years ago
Labels: bug

#1277 - Add regression test for interface with partial default implementation

Pull Request - State: closed - Opened by stakx about 2 years ago

#1276 - Add regression tests for subscribing to & raising redeclared event

Pull Request - State: closed - Opened by stakx about 2 years ago

#1275 - Upgrade DynamicProxy to version 5.1.0 for better `record` type support

Pull Request - State: closed - Opened by stakx about 2 years ago

#1274 - add STTE for older target frameworks only

Pull Request - State: closed - Opened by tibel about 2 years ago - 1 comment

#1273 - Improperly throws System.TypeLoadException on mock when a record has a base record on dotnet 6

Issue - State: closed - Opened by tgrieger-sf about 2 years ago - 5 comments
Labels: dynamicproxy

#1267 - Opt in parameters matching logic

Issue - State: open - Opened by dvabuzyarov over 2 years ago - 6 comments
Labels: documentation

#1266 - Add CITATION.cff file

Issue - State: closed - Opened by schnickalodeon over 2 years ago - 2 comments
Labels: up-for-grabs, documentation, unresolved

#1264 - Does ReturnsAsnyc not available for protected setup?

Issue - State: closed - Opened by hh23485 over 2 years ago - 2 comments

#1263 - Fail message on VerifyNoOtherCalls

Issue - State: open - Opened by tengl over 2 years ago - 4 comments
Labels: enhancement

#1252 - .NET Hot Reload breaks mocked interfaces and throws `IndexOutOfRangeException`

Issue - State: closed - Opened by frenzibyte over 2 years ago - 14 comments
Labels: bug, dotnet-runtime

#1250 - IAsyncEnumerable ReturnsAsync support

Pull Request - State: closed - Opened by cdonnellytx over 2 years ago - 3 comments

#1242 - Invocations.Clear() does not work on recursive mocks

Issue - State: open - Opened by aaronburro over 2 years ago - 7 comments

#1238 - Mocking Static Abstract Interface Methods?

Issue - State: closed - Opened by the-avid-engineer over 2 years ago - 3 comments
Labels: dynamicproxy

#1235 - Add `ThrowsAsync` for non-generic `ValueTask`

Pull Request - State: closed - Opened by johnthcall over 2 years ago - 9 comments

#1234 - Create dedicated setup type for `SetupAllProperties`

Pull Request - State: closed - Opened by stakx over 2 years ago - 2 comments

#1230 - [Feature Request] Allow to change MockBehavior of mocks

Issue - State: closed - Opened by alex-fomin over 2 years ago - 15 comments
Labels: enhancement

#1226 - CallBase is ignored when it's true and MockBehavior is Strict

Issue - State: closed - Opened by ds1709 over 2 years ago - 2 comments
Labels: wontfix, by design

#1210 - Add Times Expectation to the mock setup

Issue - State: closed - Opened by surovij45 about 3 years ago - 10 comments
Labels: duplicate, enhancement

#1209 - MissingMethodException when mocking interface with sealed default implementation

Issue - State: closed - Opened by pjquirk about 3 years ago - 2 comments
Labels: dynamicproxy

#1197 - new mock sequence - for discussion

Pull Request - State: closed - Opened by tonyhallett about 3 years ago - 2 comments

#1187 - Mock.Verify susceptible to reference type alterations

Issue - State: closed - Opened by marnu123 about 3 years ago - 3 comments
Labels: by design

#1175 - "Expression is not an event add" when using .Raises()

Issue - State: closed - Opened by howcheng over 3 years ago - 6 comments
Labels: bug, dynamicproxy

#1174 - InSequence for protected mocks

Pull Request - State: closed - Opened by tonyhallett over 3 years ago - 1 comment

#1167 - ProtectedMock Indexer support

Pull Request - State: open - Opened by tonyhallett over 3 years ago - 11 comments

#1151 - Why is there no It.IsNull<T>?

Issue - State: closed - Opened by jez9999 over 3 years ago - 10 comments
Labels: question

#1093 - Fix recursive verification

Issue - State: open - Opened by stakx almost 4 years ago - 14 comments
Labels: discussion, breaking change

#991 - Cannot mock subclass of superclass with internal virtual methods

Issue - State: open - Opened by GeeWee over 4 years ago - 6 comments
Labels: dynamicproxy

#937 - Provide a way to opt out of VerifyAll()

Issue - State: closed - Opened by ashmind almost 5 years ago - 11 comments
Labels: enhancement

#858 - VerifyNoOtherCalls verifies other mocks after upgrade from 4.10.1 to 4.11.0

Issue - State: closed - Opened by molszews about 5 years ago - 5 comments
Labels: question

#656 - Unable to mock expression containing an anonymous type

Issue - State: closed - Opened by ddprince17 about 6 years ago - 27 comments
Labels: duplicate