This repository has been archived by the owner on Jul 19, 2024. It is now read-only.
Releases: microsoft/SimpleStubs
Releases · microsoft/SimpleStubs
2.4.5
2.4.3
- Add support for different platforms in MSBuild
- Instead of failing the subs generation when the workspace has errors, ignore projects that don't open.
2.4.2
Bug fixes
This release fixes few bugs in 2.4.0.
2.4.0
- Write generated stubs to the intermediate output path (e.g. Debug/obj) instead of the Properties folder which solves several issues (including manually adding the stubs file for UWP).
- Use an exe instead of an MSBuild task for generating stubs.
Bug Fixes
Mainly bug fixes
2.3.3 Update NuGet version to 2.3.3
Custom delegates, loose mocks, .NetCore, .NetStandard, bug fixes
- Added support for custom delegates. See PR #17 (thanks @mclift).
- Added support for loose mocks. See PR #15 (thanks @mclift ).
- Added support for static usings, See PR #20 (thanks @Snorvisable).
- Split the Etg.SimpleStubs into two packages, one for code generation and one that contains the SimpleStubs APIs. See #22.
- Add support for new csproj based .NetCore and .NetStandard projects.
Add possibility to generate stubs for current project
This release adds the possibility to generate stubs for the project where SimpleStubs is installed (not only referenced projects). This is useful if you'd like to generate stubs for interfaces that are defined in your test project or in a shared project.
To enable this feature, set "StubCurrentProject"
to true in the configuration file.
Add support for indexers
Stubbing indexers is now supported. This release addresses issue #6, thanks to @christiannagel for reporting this missing feature!
The documentation for stubbing indexers can be found here.