Article Network

Testing your Business Rules in JBoss Drools

by Paul Browne | April 2009 | Java Open Source

This article by Paul Browne, shows how to test your business rules so that mistakes don't happen in real-time. It shows that testing is an ongoing process and begins the testing by using Guvnor. It then shows how to test rules against requirement documents using the FIT (Framework for Integrated Testing).

Read Testing your Business Rules in JBoss Drools in full

Testing your App

by Gabriel José Balda Ortíz Nehal Shah | April 2013 | Enterprise Articles Web Development

While the subject of testing could span whole books and there are many books on the subject indeed, we will offer a framework for testing HTML5 enterprise applications as well as an outline of cogent topics that will serve as a point of departure for further study. Different testing tools come with their own particular set of idioms; we will cover the concepts underlying those idioms.

This article by Nehal Shah and Gabriel José Balda Ortíz, authors of HTML5 Enterprise Application Development, will cover the following:

  • Unit testing

  • Functional testing

  • Browser testing

  • Continuous integration

Read Testing your App in full

Testing Workflows for Microsoft Dynamics AX 2009 Administration

by Marco Carvalho | January 2011 | Enterprise Articles Microsoft

In the previous article, Setup and Configuration of the Workflow for Microsoft Dynamics AX 2009 Administration, we have covered:

  • Prerequisites for Workflow
  • Installing Workflow
  • Set up and Configure Workflow

This article, by Marco Carvalho, author of Microsoft Dynamics AX 2009 Administration, is a continuation of the previous article in which we will have a look at testing the workflows.

Read Testing Workflows for Microsoft Dynamics AX 2009 Administration in full

Testing with Xtext and Xtend

by Lorenzo Bettini | August 2013 | Open Source

In this article by Lorenzo Bettini, author of the book Implementing Domain-Specific Languages with Xtext and Xtend, you will learn how to test a DSL implementation by using the Junit framework and the additional utility classes provided by Xtext. This way, your DSL implementation will have a suite of tests that can be run automatically. We will use the Entities DSL developed previously for showing the typical techniques for testing both the runtime and the UI features of a DSL implemented in Xtext.

Read Testing with Xtext and Xtend in full

Testing with Groovy

by Andrey Adamovich Luciano Fiandesio | October 2013 | Cookbooks Java Open Source

In this article by Andrey Adamovich and Luciano Fiandesio, the authors of Groovy 2 Cookbook, we will cover:

  • Unit testing Java code with Groovy
  • Testing SOAP web services
  • Testing RESTful services
  • Writing functional tests for web applications
  • Writing behavior-driven tests with Groovy
  • Testing the database with Groovy
  • Using Groovy in soapUI
  • Using JMeter and Groovy for load testing
Read Testing with Groovy in full

Testing Tools and Techniques in Python

by Daniel Arbuckle | December 2010 | Beginner's Guides Open Source

This article by Daniel Arbuckle, author of Python Testing, introduces code coverage and continuous integration, and teaches how to tie automated testing into version control systems. In this article, we will

  • Discuss code coverage, and learn about coverage.py
  • Discuss continuous integration, and learn about buildbot
  • Learn how to integrate automated testing into popular version control systems
Read Testing Tools and Techniques in Python in full

Testing Students' Knowledge using Moodle Modules

by Paul Taylor | June 2010 | e-Learning Moodle Open Source

This article by Paul Taylor, author of the book Moodle 1.9 for Design and Technology, explains how best to support and reinforce your students' understanding of some of the disparate knowledge they need to engage in their courses.

Read Testing Students' Knowledge using Moodle Modules in full

Testing in Python using doctest

by Greg L. Turnquist | May 2011 | Open Source

Testing has always been a part of software development. Testing includes many different styles including unit testing, integration testing, acceptance testing, smoke testing, load testing, and countless others.

In this article by Greg Lee Turnquist, author of Python Testing Cookbook, we will cover:

  • Coding a test harness for doctest
  • Filtering out test noise
  • Testing the edges
  • Testing corner cases by iteration
  • Getting nosy with doctest
Read Testing in Python using doctest in full

Testing Backbone.js Applications

by Paulo Ragonha | September 2013 | Open Source

This article by Paulo Ragonha, author of Jasmine JavaScript Testing, provides how you can write tests to a Backbone.js application. You will learn about what to test, and not to test, when using Backbone.js.

Read Testing Backbone.js Applications in full

Testing Backbone.js Application

by Paulo Ragonha | September 2013 | Open Source

This article by Paulo Ragonha, author of Jasmine JavaScript Testing, provides how you can write tests to a Backbone.js application. You will learn about what to test, and not to test, when using Backbone.js.

Read Testing Backbone.js Application in full

Testing and Tracing Applications

by David Dossot | April 2014 | Open Source

This article by David Dossot, author of RabbitMQ Essentials, presents two handy tracing tools provided by RabbitMQ, which are very likely to become prominent in your developer's toolbox.

Read Testing and Tracing Applications in full

Testing and Debugging Windows Workflow Foundation 4.0 (WF) Program

by Andrew Zhu | September 2010 | Architecture & Analysis Cookbooks Enterprise Articles Microsoft

In the previous article we have dealt with working on our first WF program. In this article by Andrew Zhu, author of Microsoft Windows Workflow Foundation 4 cookbook, we will cover the following:

  • Testing a WF program with unit test framework
  • Debugging a WF program
Read Testing and Debugging Windows Workflow Foundation 4.0 (WF) Program in full

Testing and Debugging in Grok 1.0: Part 1

by Carlos de la Guardia | February 2010 | Open Source Web Development

Some of the things that we will cover in this two-part article by Carlos de la Guardia, author of Grok 1.0 Web Development, includes:

  • Need for testing
  • Testing in Grok
  • Extending the functional test suite provided by grokproject
  • Other kinds of testing
  • Debugging tools
Read Testing and Debugging in Grok 1.0: Part 1 in full

Testing a Save As Dialog in Java using Swing

by Lindsay Peters Tim Lavers | January 2009 | Java Open Source

In this article by Tim Lavers and Lindsay Peters, we will be studying in detail the test for an extremely simple user interface component. It will involve UI Wrappers for components as a way of safely and easily manipulating them in tests and specific techniques for reading the state of our user interfaces. Although the component that we'll be testing in this article is simple, it will still allow us to introduce a few specific techniques for testing Swing user interfaces. It will also provide us with an excellent opportunity for showing the basic infrastructure that needs to be built into these kinds of tests.

Read Testing a Save As Dialog in Java using Swing in full

Testing a HELP System in a Java Application

by Lindsay Peters Tim Lavers | July 2008 | Java Open Source

It is always necessary to have a Help section in our software application. When users do not find a way out from a specific problem in our application, it is the help section they turn to. Hence it is important that the help feature is well maintained and without any errors. In this article by Tim Lavers and Lindsay Peters, we will see the errors that can occur in our help section and how to test the help section.

Read Testing a HELP System in a Java Application in full

Testing a Camel application

by Evgeniy Sharapov | September 2013 | Open Source

In this article by Evgeniy Sharapov, author of the book Instant Apache Camel Messaging System, we will learn about testing a Camel application. Of course, it is very easy to start your application and see how it works while it is small. Once the application starts growing, it will become impossible to check that it works correctly. Furthermore, Camel is both concurrent, which makes it even more complex, and an integration framework, so one would expect inputs and outputs to come and go from and to other systems, which might make things very tedious for the person doing quality assurance. Well, a long time ago, software developers came up with an idea to automate testing. Since then, plenty of good frameworks and libraries facilitating automatic testing have emerged. One of the approaches is unit testing—testing an application's functionality piece by piece or unit by unit. In the Java world, there are two options for unit testing: JUnit and TestNG. Even though Apache Camel supports both, here we will use only JUnit.

Read Testing a Camel application in full

Test: Article 4

by | March 2011 |

Article 4

Read Test: Article 4 in full

Test: Article 3

by | March 2011 |

Article 3

Read Test: Article 3 in full

Test: Article 2

by | March 2011 |

Article 2

Read Test: Article 2 in full
Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software