Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Releases: microsoft/SimpleStubs

2.4.5

23 Mar 00:38
Compare
Choose a tag to compare
  • Use MSBuildLocator to dynamically load MSBuild as discussed in #39
  • Added special cases for IAsyncAction and IAsyncOperation (#41)

2.4.3

02 Mar 22:45
Compare
Choose a tag to compare
  • 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

28 Feb 00:25
Compare
Choose a tag to compare
  • Bug fixes.
  • Support for custom event delegates with return type (see #36).

Bug fixes

18 Feb 22:41
Compare
Choose a tag to compare

This release fixes few bugs in 2.4.0.

2.4.0

14 Feb 18:56
55560b9
Compare
Choose a tag to compare
  • 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

26 Jul 16:27
Compare
Choose a tag to compare

Mainly bug fixes

05 Jun 17:10
Compare
Choose a tag to compare
2.3.3

Update NuGet version to 2.3.3

Custom delegates, loose mocks, .NetCore, .NetStandard, bug fixes

04 May 23:43
Compare
Choose a tag to compare
  • 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

16 Nov 07:23
Compare
Choose a tag to compare

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

05 Sep 21:17
Compare
Choose a tag to compare

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.