testdriven.com Wrangling quality out of chaos

Archive for November, 2008

Testing WCF Service Applications (1 of 4)

11.29.2008 · Posted in Articles

One of the most beautiful things about the WCF framework is the way it was designed to be more testable than ASPX services. When you design your WCF interface, you are mostly just designing an interface with the WCF ServiceContract attributes. The WCF framework uses your interface to determine the actual contract and transport mechanism so you don’t have to.

Read More: Testing WCF Service Applications (1 of 4)

KLOCWORK INTRODUCES SOURCE CODE ANALYSIS SOLUTION FOR ANDROID DEVELOPERS

11.21.2008 · Posted in News

New Java Analysis Allows Android Application Developers to Accurately Identify Performance and Reliability Issues

BURLINGTON, Mass. – November 11, 2008 – Klocwork, Inc., the proven leader in automated source code analysis solutions for improving software security and quality, today announced the Java static source code analysis capabilities of Klocwork Insight have been extended to support the unique requirements of Android application developers. With this new solution, Klocwork introduces a customized family of defect checkers with knowledge of Android application programming interfaces (APIs) to deliver accurate, relevant results to software developers creating applications for this platform.

Klocwork Insight’s powerful Java engine provides scalable, inter-procedural analysis of source code that is already in use by mobile device and smart phone software developers globally. With new, customized defect checkers, developers can not only leverage Klocwork’s core analysis library but can now harness a built-in awareness of Android APIs to identify a variety of bugs that can cause runtime failure, such as NULL pointer exceptions, resource leaks and usages of freed resources. These are issues that can be critical to the reliability of embedded and mobile devices.

"Android has emerged as a major new platform for mobile device application development,” said Gwyn Fisher, Klocwork’s chief technology officer. “Klocwork has a proud history of providing accurate, effective source code analysis for the embedded and mobile device markets. These new capabilities allow us to continue our success in these markets by providing a solution for the rapidly growing community of Android developers.”

Klocwork Insight is a leading static source code analysis tool for C, C++, C# and Java, and the only solution with a Connected Desktop Analysis capability that enables developers to run the analysis with full system context right at their desktop, before they check-in their code.

About Klocwork
Klocwork is an enterprise software company providing automated source code analysis software products that automate security vulnerability and quality risk assessment, remediation and measurement for C, C++, C#, and Java software. More than 300 organizations have integrated Klocwork’s automated source code analysis tools into their software development process in order to ensure their code is free of mission-critical flaws while freeing their developers to focus on what they do best – innovate.

Contact Klocwork for more information at www.klocwork.com or [email]info@klocwork.com[/email].

Klocwork and the Klocwork logo are registered trademarks of Klocwork, Incorporated in the United States and/or other countries. All other names are trademarks or registered trademarks of their respective companies.

Method Park America QA Training

11.18.2008 · Posted in Links

Providing training and consulting, including the ISTQB Foundation Level 3 day course accredited by the American Software Testing Qualifications Board.

Method Park America Inc.
39555 Orchard Hill Place
Novi, MI 48375
USA
Phone +1 (248) 605-1419
Fax +1 (248) 630-2611
link

Tags:

DataConstructor

11.18.2008 · Posted in Links

A tool that facilitates incremental database development by making each change testable and keeping database builds repeatable.
link

WAPT

11.13.2008 · Posted in Links

WAPT is a load, stress and performance testing tool for websites and web-based applications. In contrast to "800-pound gorilla" load testing tools, WAPT is designed to minimize the learning curve and give the user an ability to create a heavy load from a single regular workstation. You can create a basic test scenario and get meaningful information about your performance landscape in a matter of minutes. WAPT is able to generate up to 3000 simultaneously acting virtual users for an "average" test scenario using standard hardware configuration (Pentium 4 2GHz, 1GB RAM, Gigabit Ethernet). WAPT creates a test workload which is virtually the same as the load experienced by a web site in the real world. Virtual users in each profile are fully customizable. They can have individual IP address (IP spoofing), user name and password, and persistent cookies, to name a few. Basic and Integrated Windows (NTLM) authentication methods are supported. Graphs and reports are shown in real-time at different levels of detail, thus helping to manage the testing process. You don’t need to wait for the completion of the test to get results, so if you have already identified a problem, you can stop the test, fix the problem and start the test again to check for performance changes. The command line interface allows you to integrate WAPT into the existing development environment. Standard XML files are used to store test scenarios and can be modified by third party software.
link

Automated GUI Testing Interview on Squish 4.0: Talking with froglogic’s founders

11.13.2008 · Posted in Articles

Squish is the leading automated GUI testing tool supporting applications based on cross-platform GUI technologies such as Java Swing/AWT, Java SWT/Eclipse RCP, C++/Qt, Web/HTML/Ajax and more. Squish is renowned for its dedicated toolkit support, use of open scripting languages, great flexibility, and robust test creation and execution.

While the development of the upcoming Squish 4.0 is on-going, Qtrac Ltd.’s Mark Summerfield talked with some of the people behind the product.

In this first interview, Mark asked froglogic’s founders, Harri Porten and Reginald Stadlbauer, to give an overview of Squish 4.0’s features. In the following interviews Mark will have deeper technical discussions with the responsible developers working on specific features.

Read the interview at http://blog.froglogic.com/2008/10/squish-40-interview-talking-with-froglogics-founders/

Verde – Turns Brown Code Green

11.13.2008 · Posted in Java

Pillar has announced the availability of a new Software as a Service offering called Verde. We like the challenge of placing automated characterization tests around ancient legacy code. This old "Brown" and brittle code needs a jump start – a chance to turn "Green" again.

This technology produces real Junit code at run time. We have created a recorder that sits inside the JVM and can listen at the Jar, Class, or Method layer. It also produces Mock Objects as needed to create isolation layers as needed.

Please see more at www.pillartechnology.com

XML test case generation from XSD schema using XSLT (open source)

11.13.2008 · Posted in Tools

Our Sourceforge project – camprocessor – is a a toolset that implements the OASIS Content Assembly Mechanism standard. One capability it provides is ability to ingest XSD schema and then generate realistic XML test instances. There are various options to control the generation and provide your own content hinting. All this is built with XSLT using the Saxon processor so is readily extensible.

The main jCAM component is written in Java using the Eclipse framework providing a convenient desktop interface toolset.

Also – you can generate subset schemas by excluding and refining the content model once ingested – to match your specific application. Further xslt scripts generate HTML documentation in business user friendly formats.

You can check out more from the [url=http://www.oasis-open.org/committees/download.php/29661/XSD%20and%20jCAM%20tutorial.pdf]tutorial here[/url].

and the main download site here..

Enjoy!

Wrong About TDD

11.06.2008 · Posted in Blogosphere

Stephen highlights what he missed out on by not adopting TDD earlier and exhorts others to join the mix.

http://blog.ontheheap.com/2008/10/30/wrong-about-tdd/

TDD Randori/Coding Dojo’s

11.06.2008 · Posted in Advisories

Small successes in practicing TDD using Coding Dojo’s.

Our first try while educational floundered on the problem size and the skill of the moderator.

On our second attempt we went for a smaller problem and are having greater ongoing success.

Lessons learned
– Bring a mouse.
– Facilitator should be quiet mostly
– switch on a regular basis
– focus on small problems