Saturday, December 30, 2006

A small video sample ...

This is a small video of DevRiot Gui Engine running on Windows. The action is:
  1. Clicking 6 times on a Button and verify that t == 7. This verification fails because the tool clicked 6 times only
  2. Type 3 letters on a TextField and verify that t == 9. This verification succeeds.
  3. Delete the logic handling the clicking on the button, and work on the Choice widget.
  4. The "trimmer" kicks in, finds out that the first test is not useful anymore, and deletes it. The tool points out the obsolete is deleted
  5. Select item 5 in the Choice widget and force a failure to show that the event actually happened.
The interesting things are: there is no need to capture-and-replay anything. And when the underlying code changes, the tool updates the suites automatically so there is no maintenance.

This is the link. It is in Windows Media format and a little bit over 1.5 Mb

Happy New Year!!

Labels: , , , , , , , ,

Friday, December 29, 2006

Still going...

Working on AWT menus. These were kind of tough cookies but finally got them under control...

Labels: , , , , ,

Tuesday, December 26, 2006

It works!!

Well, the "constant gardener" works (the feature that keeps the test-base in sync with the source) but most importantly the GUI engine works like silk on Windows/Linux.

No capture-and-replace, no missed clicks just a clean way to trace the behavior of your logic: be it through the GUI, the unit tests, or both. No dependence on Windows, or Linux, or Mac.

I will try to have a little demo of the gardener running on Mac tomorrow. For a GUI testing demo I will wait a couple of days so more functionality is up-and-running.

Labels: , , , , , , , , ,

Insuficient Pleople V6 part 2

A couple of days ago, Fortune published an article that was pretty telling: how big tech companies need to grow.

The article argued that these businesses needed to find ways to produce more products , cheaper than they are doing it now, to sell them in less developed countries. But the first question that came to mind was: aren't they (people in less developed countries) already producing those goods?

So, the article left two choices: find a cheaper place to produce those goods, but then how do they buy the goods? The target customer is the white collar worker/business that has certain purchasing power and disposable income (I do not see, say, people from the favelas in Rio worrying too much about getting the latest Cisco router, they have bigger concerns)

So to sell them goods, the article argues to take the jobs away from them.

This point of view assumes that those countries just live from high-tech. Obviously, this is not true, there are an assortment of other industries in a country like Mexico or Chile.

But what would happen in India, on of the emerging super-powers of the future? Where high-tech is one of the major economic forces?

Labels: , , ,

Friday, December 22, 2006

Pre-Christmas gift!!

Well, the GUI testing engine (inside the eclipse plug-in) still does not work in Mac OS X. Despite upgrading to DP1. I guess the SWT/AWT compatibility has some more tweaking ahead.

On the brighter side, I am finishing wiring what I call "the gardener": code changes, method signatures change, methods are deleted. The gardener takes care of this by keeping the tests up to date with the real code.

I am still shooting to get a GUI engine up and running for Christmas :-}

Labels: , , , , , , , , ,

Tuesday, December 19, 2006

Movie time!!

This is a little demo of DevRiot - Eclipse running on a Mac. The movie is in QuickTime format and about 4.5Mb in size.

It shows DevRiot at work:
  1. finds where the cursor is
  2. picks the method to test
  3. generates a test form
  4. lets the user fill the form with ease
  5. add and run
Hopefully for Christmas we will have a similar demo running the GUI testing engine. click on the image below to launch the demo:



Labels: , , , , , ,

Monday, December 18, 2006

Not so fast son!!

Well, the swt/awt/apple problems are not solved with the compatibility library released by apple. Eclipse keeps on crashing and when it does not crash the AWT/Swing widgets-under-test miss events or get them too late.

I know the problem is not the gui-engine logic because it delivers the events orderly and timely on other widget types (SWT, ...)

So DevRiot will not support GUI automation on Apple for now. It will support the unit testing automation which runs good.

Who wants to get in the middle of the fight of this two? Not us :-}

Labels: , , , , , , ,

Tuesday, December 12, 2006

1001 Tests...

Just to see where the engine started to show signs of effort, I decided to wire up some stress/load logic. I used a simple method that takes an int and returns it.

The rest is on the progress snapshots:





Enjoy :-}

Labels: , , , , , , , ,

Wednesday, December 06, 2006



The Proof is in the pudding...

This is a snapshot of DevRiot running on Eclipse 3.3M3 and Java 1.5. Note that the engine executed 100 tests and all of them failed. Despite the extra effort of reporting the failures, the little engine still needs a good set of brakes:-}

We are getting closer to the point where we can release this eclipse/java beta. We do want to move on to the VS/.Net beta because the performance gains here a orders of magnitude bigger than in Java.

Stay tuned...

Labels: , , , , , , , , , ,

Saturday, December 02, 2006

Still rocking on java 5.0!!

We just got the first taste of DevRiot running on java 5.0 and we like it. The speed (ours) is still blazing fast.

There are a couple of bugs in java 5.0 that were affecting DevRiot and needed to address so they didn't hurt performance wise. That was done.

We will try to show how fast it goes before the weekend is over... :-}


Sorry for the unusual formatting. Blogger is not showing the formatting toolbar at this moment!

Labels: , , , , , , ,