Creastoff / Moqstitute

Converts C# test projects using Moq to NSubstitute
MIT License
3 stars 0 forks source link

Does Not Support .csproj Modification #2

Open Creastoff opened 1 year ago

Creastoff commented 1 year ago

Software does not replace any .csproj Moq package references with a NSubstitute package reference.

Creastoff commented 1 year ago

Two proposed solutions: 1) Either to statically replace it with a known version (5.0.0) or 2) Query NuGet for the latest version

Personally I think it is safer to keep it as a static version and not introduce any complexity by asking the user if they wish to query NuGet.

@AlbertoMonteiro what do you think?

AlbertoMonteiro commented 1 year ago

I think that user can do it manually, there is many edge cases that it should cover.

Creastoff commented 1 year ago

Closing - raised #8 in its place.