Testing and Debugging Main
Articles:
- Scalability and Goal Testing for Developers by Michael Ault - [Clicks: 6]
Often developers are tasked with not only developing functional code, but also with ensuring that the code they develop scales well and performs in the application environment.
http://www.devx.com/DevX/Article/37631 - Apr, 2008 - Performance Engineering - a Practitioner's Approach to Performance Testing by Alok Mahajan, Nikhil Sharma - [Clicks: 6]
In this article, Alok Mahajan and Nikhil Sharma offer a very workable overview of the activities involved in performance testing, offering concrete definitions and filling in potential gaps.
http://www.theserverside.com/tt/articles/article.tss?l=PerformanceEngineering - Mar, 2008 - Using Automated Tests to Document Software Architectures by Jerry Overton - [Clicks: 13]
For more detailed software quality requirements, is it possible to write tests that can verify that an architecture satisfies these complex requirements? This article presents a case study designed to explore the viability of documenting more complex architectural requirements using automated tests.
http://www.ociweb.com/jnb/jnbFeb2008.html - Feb, 2008 - Getting Test Doubles in Place by Jeff Langr - [Clicks: 4]
Test doubles (aka fakes or mocks) are a great tool that allow for deeper ability to test-drive solutions. The most common way to use test doubles is to pass them via constructors or setters. But there are at least a couple other solutions.
http://www.developer.com/design/article.php/3719336 - Jan, 2008
[Top]
Frameworks:- jWebUnit - [Clicks: 26]
jWebUnit is a Java framework that facilitates creation of acceptance tests for web applications. It evolved from a project where we were using HttpUnit and JUnit to create acceptance tests. As the tests were being written, they were continuously refactored to remove duplication and other bad smells in the test code. jWebUnit is the result of these refactorings.
http://jwebunit.sourceforge.net/ - MockEJB framework by Alexander Ananiev, Dimitar Gospodinov - [Clicks: 25]
MockEJB is a lightweight framework for running EJBs. MockEJB implements javax.ejb APIs and creates Home and EJBObject implementation classes for your EJBs. Internally, MockEJB relies on dynamic proxies and interceptors.
http://www.mockejb.org/ - MockMaker - [Clicks: 7]
MockMaker is a program for creating source code for mock object classes. If you don't know what Mock objects are then you can find out more at the mock object website. Given an interface, it writes the source code for a mock object class that implements the interface and allows instances of that class to have expectations set about how many times a method is called, what parameters each method is called with, and to pre-set return values for methods. In many cases (possibly most cases), the classes produced by MockMaker are exactly what you want a mock class to do.
http://www.mockmaker.org/ - MockObjects - [Clicks: 11]
Mock Objects is a test-first development process for building object-oriented software and a generic unit testing framework that supports that process.
http://www.mockobjects.com/ - Mockrunner by Alwin Ibba - [Clicks: 27]
Mockrunner is a lightweight framework for unit testing applications in the J2EE environment. It supports Struts actions and forms, servlets, filters and tag classes. Furthermore it includes a JDBC and a JMS test framework. The JDBC test framework can be used standalone or in conjunction with MockEJB to test EJB based applications.
http://mockrunner.sourceforge.net/index.html
[Top]
Libraries:- EasyMock by Tammo Freese - [Clicks: 10]
The EasyMock package provides an easy way to use Mock Objects for given interfaces in JUnit tests. It is open source software developed at OFFIS. EasyMock is available under the terms of the MIT license.
http://www.easymock.org/ - jMock - A Lightweight Mock Object Library for Java - [Clicks: 17]
jMock is a library for testing Java code using mock objects. Mock objects help you design and test the interactions between the objects in your programs.
[JMock is currently in heavy development while the team work towards a stable 1.0 release.]
http://jmock.codehaus.org/
[Top]