Moq2NSubstitute ConverterThis extension was developed to help convert the Moq framework to NSubstitute. The intention is to help with this conversion, and does not guarantee a 100% effective conversion, it helps with most of the work. If the test project uses more advanced features of Moq you will probably have to adjust some conversion that was not carried out. OBS: This extension does not install the NSubstitute package, this process must be done by the developer. Installing the extension.The extension can be installed in visual studio via the extension manager. Just search for the extension name and then download.. Configure tokens replace.In Visual Studio click: Tools => Options and Moq2NSubstitute Converter. The understanding is already pre-configured with some tokens, but it is possible to edit them. If something happens, you can restore the token default by clicking the "Restore default tokens" button. Replace Moq tests code into NSubstitute.Open a Moq test code and right click into code window. Click in "Moq2NSubstitute Converter" option menu. This menu item only appears when the code to be converted is a test using Moq. The code will be converted to NSubstitute. Output Window Details.More details of the conversion or any type of problem can be viewed in the output window. LicenseFreeware User ReviewsFeedback is a key to constant improvement. It provides improvements and promotes a collaborative learning environment, taking advantage of the diversity of experiences. Don't forget to give your feedback if the extension was useful to you. Just click here, it's simple and quick. DonateIf you think the extension has been helpful to your work, please consider making a small donation to support continued development. It may be the equivalent of a coffee ☕, but it makes a huge difference on the other side of the screen.
If you are Brazilian, you can donate through pix.
Your contribution helps ensure that I can continue to improve and support the extension, making it even more useful to the community. Thank you in advance for considering supporting this project. Your generosity makes all the difference! |