For faster navigation, this Iframe is preloading the Wikiwand page for NUnit.

NUnit

NUnit es un framework open source de Pruebas de unidad para Microsoft .NET y Mono. Sirve al mismo propósito que JUnit realiza en el mundo Java, y es uno de muchos en la familia xUnit.

NUnit.Forms es una expansión al framework núcleo NUnit y es también open source. Esto busca concretamente ampliar NUnit para que sea capaz de manejar pruebas de elementos de interfaz de usuario en Windows Forms.

NUnit. ASP es una expansión al framework núcleo NUnit y es también open source. Esto busca concretamente ampliar NUnit para que sea capaz de manejar pruebas de elementos de interfaz de usuario en ASP.NET.

Ejemplo de una prueba NUnit:

using NUnit.Framework;

[TestFixture]
public class EjemplodeWikipediadeNUnit
{
  [Test]
  public void TestMultiplication()
  {
    Assert.AreEqual(4, 2*2, "Multiplication");
  }
}

TestFixture hace referencia a Accesorio de Prueba o Contexto de Prueba

El framework NUnit descubre el método TestWikipediaExampleOfNUnit.TestMultiplication() automáticamente por Reflexión (programación).

Literatura

  • Andrew Hunt, David Thomas: Pragmatic Unit Testing in C# with NUnit The Pragmatic Bookshelf, Raleigh 2004, ISBN 0-9745140-2-0
  • Jim Newkirk, Alexei Vorontsov: Test-Driven Development in Microsoft .NET. Microsoft Press, Redmond 2004, ISBN 0-7356-1948-4
  • Bill Hamilton: NUnit Pocket Reference. O'Reilly, Cambridge 2004, ISBN 0-596-00739-6
{{bottomLinkPreText}} {{bottomLinkText}}
NUnit
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?