Tutorials and resources on how to apply unit testing in software testing

Introduction to Unit Testing with JUnit

September 24, 2014 0

Unit testing is a basic software testing activity that should be performed by every software developer. This handout produced by the Computer Science department of Stanford University introduces the ideas of unit testing and provides some examples on how to do it with JUnit in Eclipse.

Achieving Self-Testing Code

September 8, 2014 1

Self-testing code, or code that can evaluate its own health and tell you if it has problems, is the goal of many software teams who spend effort in testing. How can you achieve this goal? Learn the team practices, the types and amount of tests you need in your repertoire, and technical practices to help you get closer to it.

Strict Test-Driven Development

June 10, 2014 1

Agile testing and test automation are almost mandatory for projects that demand high quality as well as short release cycles like Scrum. It acts as a safety net in order to protect existing functionality against bugs resulting from unintended side-effects of recent changes. Software developers “in the trenches” often automate their tests but don’t practice strict Test-Driven Development (TDD).

Preventing Unit Testing Success

May 20, 2014 0

If unit testing has not always been adopted by software developers, this practice has become more mainstream with Agile approaches. Test-Driven Development and Continuous Integration are two technical approaches that require good unit testing. In this blog post, Maxime Lemaitre discusses attitudes that might make your unit testing fail.

Mock Python Mocking and Testing Library

May 5, 2014 0

In unit testing, you use mocks to simulate the behavior of other code parts in controlled ways. mock is a Python library for testing that allows you to replace parts of the system under test with mock objects and make assertions about how they have been used. mock has been integrated the Python standard library since version 3.3 under the name unittest.mock.

Testing Ember.js JavaScript Applications

April 17, 2014 0

Ember.js is an open-source client-side JavaScript web application framework based on the model-view-controller (MVC) software architectural pattern. It allows developers to create scalable single-page applications by incorporating common idioms and best practices into a framework that provides a rich object model, declarative two-way data binding, computed properties, automatically-updating templates powered by Handlebars.js, and a router for managing application state.

JavaScript Unit Testing Good Practices

April 10, 2014 0

This talk discusses common pitfalls in writing unreadable, unmaintainable unit tests in JavaScript. Some simple rules can keep you from tearing your hair out in anger three months from now, when things need to change.

1 6 7 8 9 10 27