Content tagged with: unit testing
This video provides advice, tips, and tricks on how to write good unit tests—the hardest part of test-driven development. It discusses the differences between TDD and unit testing, the benefits of unit tests, and the attributes of good unit tests.
This video covers the basics of test-driven development (TDD). Find out more about what TDD is, what it isn’t, the challenges you’ll face, and why you’ll want to implement it. It covers the following topics:
* Test-Driven Development defined
* Benefits of Test-Driven development
* Challenges of Test-Driven Development
* Where Test-Driven Development is not practical
* How to do Test-Driven Development
* Demonstration of Test-Driven Development using Microsoft Visual Studio
This video shows you how to install the Scala sdk and Simple Build Tool, sbt. You will also see how to create a mini sbt-project to demonstrate how you can get started with unit testing using Scalatest and JUnit.
This video shows how to set up and start using ApprovalTests with Nunit. Both are open source tools that will help you perform unit testing on your .NET code.
Most unit tests are not unit tests and their authors suffer for it. What is unit testing, really? How can writing them prevent classic testing problems? If you do write them, what trade-offs are you implicitly making?
Development speed is all about the “”feedback loop”” between coding and testing the result. As any jQuery project grows more complex the developer’s feedback loop grows bigger. This video presents jQuery plugins and general tips that will help you reduce that feedback loop. jQuery plugins like Mockjax can speed up development by reducing dependencies on the backend and preventing conflicts with other developers. The video shows how you can use jQuery testing frameworks like QUnit and UITest to not only test your code but to help you quickly automate the …
Behavior-Driven Development is more than a technique for creating and organizing unit tests. It is also a wonderful way to communicate with customers and users about the software being created. This video demonstrates some techniques and tools you can use to start delivering software with BDD. : Using Behavior-Driven Development frameworks, this session explores ways to create software starting with solid Agile requirements, moving all the way through automated testing. We use .NET in C# and Visual Studio ALM, although none of these exact tools are required to accomplish the …
Kevlin Henney explores the typical styles used for C++ unit-testing frameworks before going on to look at other possibilities that are more likely to encourage programmer testing and higher quality unit tests. From the raw use of the assert macro, to xUnit-style frameworks, to more natively C++-style frameworks and then onto a specification-centric approach that abandons functions as the basic unit of test case decomposition. The technical and practitioner pros and cons of each approach are examined.
Watch this video on Skillsmatter.com
Unit testing is a part of Test-Driven Development, but TDD is not only about Unit testing. In TDD, you usually write tests before you write any application code, and these test serve as documentation. However, Behavior-Driven development is a less well-defined term. Some contrast BDD and TDD while others say that they’re they are like two sides of the same coin. Bob Silverberg discusses Test-Driven Development and Unit testing and says that the two techniques sometimes get confused with one another
Video source: Dzone.com
A short introduction on how to perform unit tests with Microsoft Team System.