Граф коммитов

23 Коммитов

Автор SHA1 Сообщение Дата
Timothy Palpant bb27392aac Update NuGet dependencies 2022-03-07 18:26:19 -05:00
Nehme Bilal 591711b4c0 Register the correct visual studio instance dynamically 2019-04-06 11:33:59 -07:00
Nehme Bilal 67861d6160 Upgrade dependencies to work with VS2019 2019-04-05 09:06:39 +02:00
Will Allan cec021a3f5 Update "Roslyn" packages 2018-06-26 19:18:16 -07:00
Will Allan a491c03a20 Use latest C# language version 2018-06-26 19:16:23 -07:00
Nehme Bilal 9a5123d7d3 Use MSBuildLocator to dynamically load MSBuild at run-time
Resolves #39
2018-03-22 17:32:54 -07:00
Nehme Bilal 00f6b4c3f3 Add support for Platform and allow partial success when generating stubs
Instead of failing the subs generation when the workspace has errors,
ignore projects that don't open.

Resolves #37
2018-03-02 14:42:26 -08:00
Nehme Bilal e145b124e5 Pass the build configuration to MSBuildWorkspace
Fixes #29
2018-02-27 16:16:47 -08:00
Nehme Bilal 6fd90d6685 Add testing for C# 7 tuples 2018-02-24 16:55:05 -08:00
Portikus 75425d5e67 Added support for custom event delegates that have a return type. 2018-02-22 16:23:53 +01:00
Johan Laanstra 65763788a2 Invoke SimpleStubs as an exe and don't run for design-time builds. 2018-02-06 17:08:41 -08:00
Nehme Bilal c1322f096e Fix a bug in handling generic event args.
I also added a debugging console app to make debugging easier.
2017-06-21 14:51:58 -07:00
Nehme Bilal 14d5c13771 Convert Etg.SimpleStubs to .NetStandard
This makes Etg.SimpleStubs compatible with more platforms such as .NetCore.
2017-05-04 14:42:19 -07:00
mclift 1e0e828a6a Add support for custom delegate-based events 2017-03-11 18:02:01 +00:00
mclift 79184af15a Change the default MockBehavior to "Loose". 2017-02-02 19:12:15 +00:00
mclift 454922873f Test changing MockBehavior at runtime 2017-02-02 16:47:30 +00:00
mclift aea146fc6f Replace WithDefaultBehavior method with ctor parameter and public property. 2017-02-02 16:36:47 +00:00
mclift e934be1c66 Fix NullReferenceException being thrown when stub method returns null; increase test coverage and split test cases out by category. 2017-01-31 18:32:20 +00:00
mclift 4341e68c0b Add support for loose mock behaviors 2017-01-26 11:09:40 +00:00
nbilal b93154c152 Add support for indexers 2016-09-05 14:04:05 -07:00
nbilal de08da4ae2 Add support for method stub count setup 2016-08-18 13:05:48 -07:00
Nehme Bilal 8de7730ed6 Support generic methods and ref/out parameters
This commit also involves a major change in SimpleStubs Api.
Properties that were used for stubbing have been replaced with setup
methods that have the same name as the methods being stubbed. The new Api
is fluent, simple and more readeable (no more _int_string naming style).
2016-07-14 15:29:43 -07:00
nbilal bb9b4b4501 Add source code 2016-05-19 09:54:29 -07:00