Test Infected

July 28, 2009

how can you check a HTML page looking for broken links

Filed under: General Discussion — wanderleisouza @ 9:45 pm

http://www.kevinfreitas.net/extensions/linkchecker/

Three chears for Kevin Freitas who developed a nice firefox extension.

July 27, 2009

Use counters to follow JBoss Message Service behavior

Filed under: General Discussion — wanderleisouza @ 8:53 pm

Asynchronous data in your test? ow gosh!
Point your browser to http://<servername>:8080/jmx-console, go to a service named DestinationManager and invoke the listMessageCounter() method.

As a good host ;) I will help you to understand the result columns:

*Type: Either Queue or Topic indicating the destination type.
*Name: The name of the destination.
*Subscription: The subscription ID for a topic.
*Durable: A boolean indicating if the topic subscription is durable.
*Count: The number of message delivered to the destination.
*CountDelta: The change in message count since the previous access of count.
*Depth: The number of messages in the destination.
*DepthDelta: The change in the number of messages in the destination since the previous access of depth.
*Last Add: The date/time string in DateFormat.SHORT/DateFormat.MEDIUM format of the last time a message was added to the destination.

Or if you prefer… its also possible do it using a command line tool, jboss/bin/twiddle(.sh|.bat):

twiddle -s <servername> invoke jboss.mq.destination:service=Queue,name=<QueueName> listMessageCounter

Some regex voodoo like ‘s/<[^>]*>//g’ can help you to manage the HTML strip.

July 16, 2009

“Must-Have” Firefox Add-ons for QA

Filed under: General Discussion — Tags: — wanderleisouza @ 9:33 pm

A selection from QA kung foo master Ms. Paula Herculano,  here it comes:
https://addons.mozilla.org/pt-BR/firefox/collection/qahelper

One more thing I wanted to add on Paula’s list: LiveHTTPHeaders a very powerful tool to display HTTP headers in real time.
(ok, ok…we can use firebug from the original list to do some HTTP header scan, but LiveHTTPHeaders definitely has a better support for this dirty job).

July 13, 2009

Testing JBoss cluster formation (with JGroups)

Filed under: General Discussion — Tags: — wanderleisouza @ 8:22 pm

JBoss AS uses JGroups internally to create cluster groups. If you are having problems with your cluster communication, it would be easy to check JGroups configuration first. A little “how to” can be found at JBoss Wiki:

Testing whether nodes find each other, without Jboss AS.
http://www.jboss.org/community/wiki/TestingJBoss

Another useful diagnosis tool is the “probe” script (it can be found at jboss/bin directory)
$: ./jboss-4.2.3.GA.test/bin/probe.sh -timeout 500 -query jmx -query props

July 9, 2009

Sonar Metrics: I was just blown away by it.

Filed under: General Discussion — wanderleisouza @ 9:18 am

From project site description: “Sonar enables you to collect, analyze and report metrics on source code. Sonar not only offers consolidated reporting on and across projects throughout time, but it becomes the central place to manage code quality”.  I have tried and I was just blown away by it.  It’s much better than I expect, help-me to generate metrics for a 100k lines real program in less than 10 minutes. Put your popcorn in microwave and get some metrics results. Posh++.

  • Maven, Hudson, Jira, FindBugs, Checkstyle, PMD, etc perfect integration.
  • Easy (very easy) to install.
  • No magic and voodoo to run and generate reports:  mvn clean install sonar:sonar

—  click to enlarge —

a real 100k lines project analyzed in 10 min.

a real 100k lines project analyzed in 10 min.

June 19, 2009

Verizon Wireless Billing Problem

Filed under: General Discussion — wanderleisouza @ 8:02 pm

It is and old video but still very funny ;)

Verizon Wireless quotes “0.002″ cents per kilobyte as the data transfer rate in Canada, but bills 0.002 dollars per kilobyte. (as of 12-14-2006).
A classic unit conversion/math bug.

June 8, 2009

Hitler, agile and testing

Filed under: General Discussion — wanderleisouza @ 4:16 pm

And automated unit testing has been more challenging than we anticipate…

June 7, 2009

Check Browsers Compatibility

Filed under: General Discussion — wanderleisouza @ 4:06 pm

What is Browsershots? Browsershots makes screenshots of your web design in different browsers. It is a free open-source online service created by Johann C. Rocholl. When you submit your web address, it will be added to the job queue. A number of distributed computers will open your website in their browser. Then they will make screenshots and upload them to the central server. Wow! test infected broke in Firefox 2.0.0.x. Shame on me! (and blame the wordpress “Shocking Blue Green” template).

Check Browsers Compatibility
http://browsershots.org/

<bug>Wow! test infected broke in Firefox 2.0.0.x.
Shame on me! (and blame the wordpress “Shocking Blue Green” template).</bug>

testinfectedwin2kff2

May 27, 2009

Webinar: Source Code Analysis in an Agile World

Filed under: General Discussion — Tags: , — wanderleisouza @ 12:32 pm

Source code analysis technology (SCA) has been evolving for more than two decades, and is now used by embedded software developers in virtually every industry to create better, bug-free code. In an Agile context where software production is performed in short, feature-driven iterations, it’s critical that bugs are found and removed from code as early as possible.

In this webinar, we will examine the evolution of SCA technology and discuss why and how it should be deployed for maximum benefit within an Agile development process.

Speaker:

Todd Landry, Product Manager, Klocwork

Date and Time:

Wednesday June 10 11am PST / 2pm EST

Click here to register

April 9, 2009

Agile Quality Management by Andreas Schliep

Filed under: General Discussion — Tags: , — wanderleisouza @ 3:59 pm

download the entire presentation
contact Andreas Schliep at http://www.andreas-schliep.de/index.php/en/maincontact

Scrum Masters vs Quality Manager responsibilities

Scrum Masters vs Quality Manager

« Newer PostsOlder Posts »

Theme: Shocking Blue Green. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.