Article Network

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 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 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 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 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 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 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 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 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 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 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 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 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 JBoss Drools Business Rules using Unit Testing

by Paul Browne | April 2009 | Java Open Source

In the previous article we've seen how to test our rules using Guvnor, as well as using FIT for rule testing against requirements documents. This article by Paul Browne, shows how to test your rules further. It shows how to unit test the rules by using Junit. Unit testing has the advantage of documenting the code because it gives a working example of how to call the rules. It also makes your rules and code more reusable.

Read Testing your JBoss Drools Business Rules using Unit Testing in full

Testing Your Speed

by Daniel Bates | March 2014 | Open Source

In this article by Daniel Bates, the author of Rasberry Pi Projects for Kids, discusses how to create a new game that will test how quickly the player can react. To do this, we will create our own game controller—something you can't do on a normal computer—and write a program to handle when the controller's buttons are to be pressed.

Read Testing Your Speed in full

Text in TextMate

by Chris Mears | January 2013 |

In this article by Chris Mears, the author of TextMate How-To we learned how to find text in TextMate and speed up the process.

(For more resources related to this topic, see here.)

Read Text in TextMate in full

Text Search, your Database or Solr

by David Smiley | November 2009 | Open Source

The scenario addressed in this article is a typical one. You have got a database-backed web application that you are building, and it needs to have a text-search capability. It is an increasingly common requirement. There are a variety of options and variations at your disposal to implement text search. This article is mostly about two of them, using the text search features in your database versus using Apache Solr – an open-source search platform. Solr is built on the established Apache Lucene. In this article by David Smiley, we are going to talk about database based text search in general and not a particular one because there are many databases and they vary widely. Likewise, this article should also be useful when considering one of Solr's competitors.

Read Text Search, your Database or Solr in full

Textures in Blender

by Allan Brito | January 2009 | Open Source Web Graphics & Video

In this article by Allan Brito, we will learn how to use textures to give our materials more realism. The biggest problem of working with textures is actually finding or creating a good texture. That's why, its highly recommended that you start as soon as possible to create your own texture library. Textures are mostly image files, which represent certain kinds of surfaces such as wood or stone. They work like wallpaper, which we can place on a surface or object. For instance, if we place an image of wood on a plane, it will give the impression that the plane is made of wood. That's the main principle of using textures. We will make an object look like something in the real world using a texture. For some projects, we may need a special kind of texture, which won't be found in a common library. So we will have to take a picture ourselves, or buy an image from someone. But don't worry, because often we deal with common surfaces that have common textures too.

Read Textures in Blender in full

That's One Fancy Hammer!

by Ryan Henson Creighton | January 2014 | Beginner's Guides Games

This article by Ryan Henson Creighton, author of Unity 3D Game Development by Example,introduces you to Unity 3D—an amazing game engine that enables you to create games and deploy them to a number of different devices, including (at the time of writing) the Web, PCs, iOS platforms, and WiiWare, with modules for Android and Xbox Live Arcade deployment in the works. You'll play a number of browser-based Unity 3D games to get a sense of what the engine can handle, from a massively-multiplayer online game all the way down to a simple kart racer. You'll download and install your own copy of Unity 3D, and mess around with the beautiful Island Demo that ships with the product.

Technology is a tool. It helps us accomplish amazing things, hopefully more quickly and more easily and more amazingly than if we hadn't used the tool. Before we had newfangled steam-powered hammering machines, we had hammers. And before we had hammers, we had the painful process of smacking a nail into a board with our bare hands. Technology is all about making our lives better and easier. And less painful.

Read That's One Fancy Hammer! 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