background preloader

Testing

Facebook Twitter

Continious Testing

MSpec. BDD. AB Testing. TDD Test Driven Development. Unit testing - MVC 3: How to learn how to test with NUnit, Ninject, and Moq. Take Unit Testing to the Next Level. In-Depth Take Unit Testing to the Next Level How to associate unit tests with requirements in Visual Studio 2010. Get Code Download Many teams today use Agile techniques such as Test-Driven Development (TDD), eXtreme Programming or just a heavy use of unit testing to verify functionality. One of the gaps in unit testing is the ability to map unit tests to requirements to get an overall view of the requirements coverage (as opposed to code coverage) that the unit tests provide. Consider the following situation: Your application has 10 requirements that need to be built.

There are 100 unit tests that cover all of the methods in your application, giving you 100 percent coverage of your code. Why does this matter? Team Foundation Server (TFS) provides the first (that I know of) capability of associating any automated test -- not just unit tests, but load tests and generic tests -- with a requirement.

Open the CalcMath class, right-click within the PerformOp method and select Create Unit Tests. Continuous Testing: Think Different. Open Source.NET Continuous Testing: Think Different Continuous testing can dramatically increase your productivity. There are a number of open-source tools that do just that. What we are really talking about in continuous testing is applying a lean workflow. By looking at how we can apply lean principles to our daily workflow, we can push the boundaries of what we're capable of. Eliminate waste Amplify learning Deliver as fast as possible Build in integrity See the wholeSubverting the Dominant Paradigm As programmers, we're constantly battling against interruption, trying to stay in a groove.

"Your time is limited, so don't waste it living someone else's life. Whether by conditioning or obedience to dogma, our workflows will blind us if we don't challenge them. Continuous Testing When applying TDD, in whichever fashion, we're continually compiling and writing tests.

To streamline this process, there are (at least) three OSS projects for .NET developers that are worth taking a look at. Giles.

Mocking

Unit Testing. AutoIt - AutoItScript. Overview AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (e.g. VBScript and SendKeys). AutoIt is also very small, self-contained and will run on all versions of Windows out-of-the-box with no annoying “runtimes” required! AutoIt was initially designed for PC “roll out” situations to reliably automate and configure thousands of PCs. Over time it has become a powerful language that supports complex expressions, user functions, loops and everything else that veteran scripters would expect.

AutoIt has been designed to be as small as possible and stand-alone with no external .dll files or registry entries required making it safe to use on Servers. Download Take me to the downloads page! Features Here are some of the unique features of AutoIt. Working with the Chaos Monkey.