Tags » NUnit

Watch out for exceptions in NUnit TestFixture constructors

Don’t do anything that might throw an exception in a TestFixture constructor: your tests will be ignored, rather than failing.

My colleague Chris and I have been playing around with polymorphous testing, taking advantage of the fact that you can pass parameters to an NUnit… 266 more words

Programming

Tests fail to run and the test setup throws a BadImageFormatException.

The most likely cause of this is that your project references are 64-bit libraries.

In Visual Studio go to Test –> Test Settings–> Default Processor Architecture –> X64

NUnit. Часть 1

NUnit – фреймворк для модульного тестирования и разработки по TDD. Для упорядочивания здесь знаний будет цикл статей о нём.

Что тестировать?

Напишем простой класс Fibonacci, который вычисляет число Фибоначчи, с единственным методом Calculate: 104 more words

Visual Studio

Test Driven Development II

Test-First way of thinking

A valuable software engineering practice, regardless of what methodology you are following.

Some companies can be apprehensive of developer testing, as they feel their testers should be the only ones carrying out tests. 183 more words

Developer

Test Driven Development

What is TDD?

A development process driven by the implementation of a test-first approach. The tests which are initially written will fail, then development begins, with the objective being to make the tests pass. 238 more words

Developer

Install nunit on Ubuntu

To install nunit on Ubuntu, start a terminal session and execute the following command:

sudo apt-get install nunit nunit-console nunit-gui

After installation has complete, you can run nunit by executing the following command in the terminal session: 13 more words

Computing