Visual studio for Mac extension to generate unit tests from a method
This extension was created to facilitate the creation of unit tests (Currently in the context of Xamarin.Forms). Currently, this extension only supports generation of NUnit tests.
- Install the extension from the generated mpack file
- Right click on a method and hit Generate Unit Test
- If you have not used this extension before in this project, it will generate a Solution folder and add a json config file
- Includes a basic template for creating a unit test (From the File > New File menu)
- Code checks to show the command if a method is public
- Generation of unit test class if the file doesn't exist already
- Generation of Test method into the Test class