Rocks icon indicating copy to clipboard operation
Rocks copied to clipboard

A mocking library based on the Compiler APIs (Roslyn + Mocks)

Results 42 Rocks issues
Sort by recently updated
recently updated
newest added

I just make `RockRepository` implement `IDisposable` "better", in that once `Dispose()` is called, you can't call members on it again without getting `ObjectDisposedException`. I'm starting to wonder if `Expectations` should...

enhancement
Medium Priority

**Describe the solution you'd like** I was able to provide a workaround of sorts for [this issue](https://github.com/JasonBock/Rocks/issues/313). There may be other FAQ-like/"what-if" scenarios that devs run into with Rocks that...

enhancement
Low Priority

**Describe the solution you'd like** This was something I thought I looked at before, but for some reason I can't find any notes. Anyway... C# 11 added static abstract members...

enhancement
High Priority

Similar to what I did for [parameters with default values](https://github.com/JasonBock/Rocks/issues/264), it would be nice to have overloads where, instead of generating the parameter type as `Argument values`, it would be...

enhancement
Low Priority

**Describe the solution you'd like** I think when I get the FQN for a `TypeReferenceModel`, I don't handle the aliases right if the type is generic. Right now I'm getting...

**Describe the solution you'd like** Right now, I'm using `EquatableArray` in the models to support equality. However, I'm not sure if two EAs, one with `A, B, C` and the...

**Describe the solution you'd like** Right now `PropertyModel` is doing a bit too much, and it makes it harder to do some code gen parts (e.g. recalculating the `MemberIdentifier`). Having...

enhancement
Low Priority

**Describe the solution you'd like** I'm interested in creating an application (or a test class library) that illustrates what features are supported by the other mocking frameworks (Moq, NSubstitute, and...

enhancement
Low Priority

Open generics will be supported in 8.1.0 (issue #287) . However, there's a problem when the target type is generic, an open generic is requested, and the mock type has...

enhancement
Low Priority

**Describe the solution you'd like** There's a new way to output build results in .NET 8 - details are [here](https://learn.microsoft.com/en-us/dotnet/core/sdk/artifacts-output). I should try this in Rocks and see if it's...

enhancement
Medium Priority