Posted on Sunday April 24, 2016

C# Unit test generator

This small Javascript pen generates a C# file for an object you want to test, using a list of test cases you specify in the textbox in this format:

  • should write to file
  • should throw myexception when config is empty
  • should load once

See the Pen C# unit test code generator by Chris S. (@yetanotherchris) on CodePen.