Published articles on other web sites*

Published articles on other web sites*
Showing posts with label Test. Show all posts
Showing posts with label Test. Show all posts

Running NUnit and xUnit tests in TFS11 build

I’ve blogged in the past various solution to run NUnit tests during a TFS build, and now it is time to make it again for TFS11, but this time it is incredibly simple, because the new Test Runner supports multiple frameworks, so it works almost automatically.

You can read from Peter Provost blog that actually we have three plugin for UTE (Unit Test Explorer) available: Nunit, xUnit and HTML/JAvascript, they are simple .vsix file (Visual Studio Extension), that you can download, run, and voilà, your xUnit and NUnit tests are runnable from Visual Studio.

image

Figure 1: The new UTE is able to run Unit Tests from multiple framework, because it

What's new for Microsoft Test Manager in Visual Studio 11 Beta



After the release of Visual studio 2010, Microsoft Test Manager gained a lot of popularity and we heard a whole lot of feedback about the tool, both good and bad. We consolidated it and decided to fix the top items causing dissatisfaction to the MTM users, the top 3 being performance issues in MTM, multiline support for test steps and test data reduction. Below are the details of these and other improvements we did in Microsoft Test Manager in the Visual Studio 11 Beta release.



Significant performance gains in MTM

Improving the performance was a major ask from the Test Manager users and we have done a lot of investigations and work to make it better. The performance of scenarios (for both LAN and WAN connections) like connecting to a plan, displaying the tests inside a suite, starting testing inside test runner, saving bugs in test runner, listing of runs on the analyze runs activity, creation of lab environments has improved to a great extent.



Multi line support in test steps

This feature lets you add multiple line in the same test step with the use of ALT+ENTER key combinations, just like Excel. This can be particularly useful to consolidate all the related actions in a single line and proves very handy along with the rich text feature for test steps, described below. This was also part of an update released in September 2011.





Test Data reduction

Pruebas funcionales con Coded UI Test de Visual Studio 2010

Portada Coded UI Test
Hace unas semanas estuve haciendo una pequeña introducción a los test unitarios con la herramienta que nos ofrece el Visual Studio 2010 e incluso me atreví con un ejemplo de TDD (Test Driven Development) bastante básico para llegar a una contundente conclusión: los test no son opcionales. Y de esta forma argumento por medio de la práctica lo imprescindible de su utilización.
También en ese artículo hice referencia a realizar otra forma de realizar el desarrollo que es empezar por la otra punta, el BDD (Behaviour Driven Development). En donde lo que hacemos es hacer una descripción en lenguaje natural de las pruebas de aceptación que ha de superar nuestro código para darlo por bueno. Es decir, primero describimos el comportamiento antes de escribir el código. Y para ello tenemos herramientas como Selenium, jBehave o mSpec.
Pero en este post quiero tratar sobre la herramienta que nos ofrece Visual Studio 2010 en su suite de testing para realizar los test funcionales. Es decir, aquellas pruebas que comprueban el correcto funcionamiento de la aplicación.

[Spanish] Visual Studio 2010 ALM y Team Foundation Server 2010, 2008 y 2005

LINKS  By el Bruno

Team Foundation Server 2010

WorkItem Tracking

Source Control

MS Test, el framework de test de Visual Studio 2010


Portada


El test, en cualquier de sus formas, es una de las más poderosas herramientas que tenemos los desarrolladores actuales para obtener un software de calidad, robusto y de más fácil mantenimiento. Incluso los test funcionales, que permiten realizar BDD, están entrando con fuerza en las técnicas generales que todo buen programador debiera conocer.


En el caso del ecosistema de desarrollo de Microsoft, Visual Studio 2010, este nos ofrece un potente framework de pruebas (Visual Studio Unit Testing Framework), que en este artículo voy a mostrar por medio de un sencillo ejemplo.




Creando el código

Related Posts Plugin for WordPress, Blogger...