. NET development must have ten tools detailed NUnit 2.5 Alpha

Source: Internet
Author: User
Tags file system

NUnit is a unit test framework on. NET. NUnit 1.x is primarily porting JUnit 3.8. Starting with version 2.0, NUnit has been rewritten and redesigned to use attributes instead of specific methods and corresponding base classes.

Over the past five years, five editions have been released, the latest version being 2.5, and currently the alpha phase. This publication supports the following features:

Data-driven testing-using [TestCase] and [DataSource] to allow data to be passed to test cases through attributes.

Parallel and distributed testing-a new test run (Punit) that allows tests to run concurrently on multiple machines. This test-run design goal is to assist in the stress testing of the server.

Additionnal assertion: Enables you to compare files and directories without having to access the file system. Provides more support for testing, regardless of whether the code throws an exception.

Run Csunit test Case: Csunitaddin supports unit tests written by another important. NET unit Test framework.

Rowtestextension: Allows developers to write rowtests substitution nunits[testcase].

Additionally, the documentation is updated.

Other major features

Constraint-based Assertion pattern: In addition to the traditional assertions, NUnit allows this to be written: Assert.that (myString, New Equalconstraint ("Hello"); users can flexibly increase their limitations and participate fully in the NUnit ecosystem.

Supported Attributes:tests, Setup, teardown, Fixture Setup/teardown (Setup/teardown for each namespace), ...

Console and GUI test runs.

Charlie Poole has clarified the confusion between the different versions of NUnit:

Some people confuse several releases or discuss them at the same time, so I think I need to clarify:

NUnit 2.4.7 is the latest product version of NUnit. We recommend that you use this version in your tests. There are some fairly critical performance errors that have been fixed in recent releases, so you should update them even if you are only one or two digits short. See what you still lack!

NUnit 3.0 is a next-generation NUnit that has not been released in the plan. We call it the NUnit extended test platform to differentiate it from the current NUnit framework. It will provide a superset of the current version of the feature, more detailed description can be seen here. We will release further information on the progress of NUnit 3.0.

NUnit 2.5 is not the version originally scheduled to be released. The 2.4 version was originally scheduled to follow the original 3.0 version. However, many people want to release the features provided by other test frameworks faster, which is what our NUnit lacks.

The other. Net unit testing tools include: Mbunit, Csunit, Xunit.net, Nbehave, and gallio--an open, scalable, and supported all. NET Test tool's test run.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.