Skip to content

2.0.0

Compare
Choose a tag to compare
@YarinOmesi YarinOmesi released this 28 Jan 17:48
· 2 commits to master since this release
bd06ec4
Release 2.0.0 (#19)

* Move `DiagnosticRegistry` to `TestsHelper.SourceGenerator.Diagnostics` namespace

* Remove Attribute Requirements to parent class

* Remove obsolete `ClassPartialImplementation`

* Remove Unused Constructor

* Add README to misc folder

* Update README

* Remove Comment From Test

* Feature/setup method for mocks (#13)

* Store `ITypeSymbol` and rename `Name` to `ParameterName`

* Add Syntax Extensions Methods

* Use Syntax Extension methods

* Implement Setup Method Generation

* Change Samples And Test Sources To Use The Setup Method Generation

* Implement void support

* Moved models into `Models` Namespace

* Create WorkingClassInfo

* Move setting SelectedConstructor in SetClass

* Extracted Logics Outside `SyntaxTreeMockedFilledPartialClassCreator`

* Make `AttributeHelpers` to work with attribute full string string along type

* Move Cyber Logics Into A Project And Created An Attribute For GenerateMockWrappers

* Mark ClassToFillMockIn is it needs have GenerateMockWrappers attribute

* Remove String Cyber Code, Change Implementation to be optional

* fix test after generate mocks wrapper is optional, add test to cover this

* Use GenerateMockWrappers In Sample.Tests

* Update README

* Use Syntax Extension In `MockGenerator`

* Extracted `SetupMethodResult` to another file

* use named argument

* remove pipeline on pull_request

* add build badge to README

* Rename `WrapMockMethodResult`

* Rename `WrappingMockMethodCreator`

* Implemented Verify Creation, add to tests and add it Sample.Tests

* Update README about verify

* fix typo in README.md

* Udpdate Dev With Master (#17)

* Rename `MockFillerOutput` to `FileResult`

* Remove Field Declaration From GeneratedMock.cs

* Add Syntax Extensions

* Add `TypeMockResult` as the result for class type wrapper

* Make `IMockedFilledPartialClassCreator` `Build()` return multiple file result instead of one

* Fixed To Use Multiple Files

* `BuildMethodCreator` : Use `TypeMockResult` and new syntax extensions

* Implement Type Wrapping in `TypeMockWrapperCreator` and deleted the old wrapping method class

* Use New Type Mock Wrapping and return multiple files

* Update Sample.Tests to use new interface

* Update Test To the new interface

* Remove unused `WrapMockMethodResult`

* Do Not Create Method Wrapper Class When `createMockWrapperMethod` is false and fixed tests

* Used `typeMockResult.Namespace` to import wrapper class

* Replace `MockProperty` with `MockPropertyName`

* Rename `CreateExpressionLambda()` to `CreateMoqExpressionLambda()`

* suppress field not initialized

* remove unsued field

* Rename `_Value` to `ActualValue` and make the ctor private

* Removed Unused usings

* Format `Test`

* Now Using the non incremental generator

* Updated README with the new interface

* Put Some emojis in README

* Split Example Code in README

* Change Case of examples links

* Add Cyber Testing Project

* Add Expression Comparing From GitHub

* Refactor `ExpressionComparison` and make it assert instead of boolean

* Add Test To `Cyber` clas

* Incremented Version To `2.0.0`