Skip to content

dlmcdonald/UnitTestGenerator

Repository files navigation

UnitTestGenerator

Visual studio for Mac extension to generate unit tests from a method

About

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.

Usage

  • 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

Current Features

  • 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

About

Visual studio for Mac extension to generate unit tests from a method

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages