ErrorUnit icon
ErrorUnit icon

ErrorUnit

 Like

Generates C# Unit tests (MSTest or NUnit) from errors/paused Visual Studio, mocking EF data accessed for far, class values, and method parameters. Saving tons of time isolating bugs, and eliminating the drudgery of writing Unit Tests.

ErrorUnit screenshot 1

License model

Application type

Country of Origin

  • US flagUnited States

Platforms

  • Windows
  • Microsoft Visual Studio  2015
  No rating
0likes
0comments
0news articles

Features

Suggest and vote on features
  1.  Unit Testing
  2.  C-sharp
  3.  Error Logging

 Tags

  • visual-studio
  • error-checker

ErrorUnit News & Activities

Highlights All activities

Recent activities

No activities found.

ErrorUnit information

  • Developed by

    US flagJohn Gold Inc
  • Licensing

    Proprietary and Commercial product.
  • Alternatives

    1 alternatives listed
  • Supported Languages

    • English

Popular alternatives

View all

Our users have written 0 comments and reviews about ErrorUnit, and it has gotten 0 likes

ErrorUnit was added to AlternativeTo by johngoldinc on Nov 7, 2016 and this page was last updated Aug 30, 2017.
No comments or reviews, maybe you want to be first?
Post comment/review

What is ErrorUnit?

ErrorUnit Visual Studio extension converts development/logged errors into C# Unit Tests with parameters and EF data accessed so far.

As you may know creating Unit Tests is a laborious part of development and in TDD (Test Driven Development) up to 50% of a programmer's job is writing the Unit Tests. Unit Tests are classically separated into three parts Arrange, Act and Assert; the Arrange portion is the largest part of a unit test and it sets up all the preconditions to a test, mocking all the data that is going to be acted upon in the test, the Act portion of an Unit Test is usually one line and activates the portion of code being tested passing in that data, and finally the Assert portion of the test takes the results of the Act portion and verifies that it met expectations ( can be zero lines when just making sure there is no error).

My new tool ErrorUnit automatically writes the Arrange, and Act parts of the unit test, meaning it automates over 2/3rds of the task of creating a unit test. It does this by integrating with the application's IoC (Inversion of Control) / DI ( Dependency Injection) library, or integrating into a MVC / Web API applications control filters, or using an AOP ( Aspect-Oriented Programming) library. Then when a programmer is debugging an application they can pause the program and create a Unit test for that code; ErrorUnit also acts as an error logger formatter, logging errors in any environment for conversion into Unit tests (hence its name). These Unit Tests contain not only the parameters that called methods, but the variables in each class, and the data accessed so far by EF (Entity Framework) from the database.

The ability to "Mock" Entity Framework is a killer feature as developers have struggled and have failed to mock it, rendering unit testing EF calls nearly impossible; not so with ErrorUnit.

Official Links