David Tchepak
David Tchepak
Remove old tests that rely too heavily on mock adapter.
Builds of tagged commits on AppVeyer should use GitHub Release storage. * [Publishing artifacts to GitHub Releases](https://www.appveyor.com/docs/deployment/github/) * [AppVeyer artifacts rentention](https://www.appveyor.com/docs/packaging-artifacts/#artifacts-retention-policy) Artifacts should be published as Draft releases so we...
As suggested in https://github.com/nsubstitute/NSubstitute/issues/443#issuecomment-415327557, it could be useful to expand the information presented in the `CallSequenceNotFoundException` thrown from `Received.InOrder`. Possibly something like this: ``` Expected to receive these calls in...
Create CallInfo to calls that return results and expose `GetBaseResult`. This gets messy to push the generic all the way through the code, so am just using a cast in...
Not sure if this is a terrible idea, but was reading [this SO question](https://stackoverflow.com/q/67423477/906) and started thinking about an `Arg.MustMatch` or similar matcher that throws on non-matches and is not...
From https://github.com/nsubstitute/NSubstitute/issues/152#issuecomment-739048514: > Stumbled upon this while attempting to validate a call into `Microsoft.Extensions.Logging.ILogger`. > > The logger interface takes a `T` state, but the "public" APIs (i.e. common extension...
As per [this SO comment](https://stackoverflow.com/questions/55237428/how-to-configure-nsubstitute-not-call-internal-virtual-method/55239045?noredirect=1#comment113698526_55239045), the [How NSub Works](https://nsubstitute.github.io/help/how-nsub-works/) docs are incorrect. > Use `[assembly: InternalsVisibleTo(InternalsVisible.ToDynamicProxyGenAssembly2)]` in the test assembly so that the internal member can be overridden. should be:...
**Describe the bug** NSubstitute behaving oddly with `StackExchange.Redis` library. Ilya Chernomordik on StackOverflow [reports a `TypeLoadException`](https://stackoverflow.com/q/60720540/906) in DynamicProxy-generated `RedisResultProxy`. This type isn't explicitly configured, I'm guessing it is from a...
From https://github.com/nsubstitute/NSubstitute/issues/222#issuecomment-557198534, saying `protected virtual` is substitutable is misleading. While technically possible (hacky) with the current API, it's not something we encourage and people should not expect to mock these...
As per [this comment](https://github.com/nsubstitute/NSubstitute/pull/465#issuecomment-431400095). On mouse over document headings (`h2` and below), show a clickable glyph that will navigate to that heading id. This makes it easier to copy a...