Monday, February 23, 2009

Installing CubicTest

Have you ever been in need of an advanced testing tool that makes it easy to:
  • Test your web-applications by interacting with them as an human user would do
  • Let you define test-steps by drawing simple flow-chart-like diagrams
  • Auto-draw the test-steps by recording your actions from the browser window
  • Automatically re-execute so-recorded texts against a web-browser
Well, this kind of tool really exists: it's CubicTest and in the last days it really lived up to its promises.

In just one day I wrote a complete test-plan and linked each one of the tests planned to a testcase created with CubicTest.
And not only I "wrote" the tests by simply recording my activities inside the browser, but I also left CubicTest the task of executing them automatically, presenting me with the exact step where the failures occurred.

This way I obtained a "real" test-plan, consisting of human-readable, auto-generated and repeatable acceptance-tests.
Something I could easily bundle into an Eclipse application that could be used by my customers when they will try out my project.

Here's how to install CubicTest:
  1. Download and install Eclipse at http://download.eclipse.org
  2. Add the following update site to Eclipse: http://boss.bekk.no/cubictest/update/ (or download it from http://boss.bekk.no/cubictest/download.html)
  3. Select the CubicTest plugins and install them
  4. When asked whether to apply the changes or restart click "Apply Changes" and then manually shut-down Eclipse
  5. Open the eclipse.ini configuration file (/path/to/eclipse/eclipse.ini or C:\Program Files\Eclipse\eclipse.ini) and add the following line:
  6. On Linux: -DfirefoxDefaultPath=/path/to/firefox_installation/<firefox_executable>
    On Windows: -DfirefoxDefaultPath=C:\path\to\firefox_installation\firefox.exe
  7. Start Eclipse
  8. Follow the tutorials provided by the CubicTest Team and start using it

Let me know if you like this tool (by clicking the title of this post and leaving me a comment).

Saggio breve

Silvio Berlusconi (l'unica persona per la quale si può dire che la legge Basaglia sia stata un errore), a parziale scusante dell'essersi fatto eleggere quale presidente della Regione Sardegna, ha "regalato" ai sardi il Festival di Sanremo.

È sicuramente questo l'unico regalo che ci si può aspettare dal Líder máximo.
Gli altri regali, ne siamo certi, li terrà per se.

Saturday, February 14, 2009

Cose che è meglio sapere

Un link a una discussione piuttosto interessante: link.

Riporto il mio commento (ma quanto sono egocentrico...):
[..]
Poi, per quanto riguarda la discussione in corso, io vorrei focalizzare l'attenzione sul Perchè, ponendo una domanda che già il nostro RRobe ha implicitamente fatto: sono delle coincidenze quelle che vedono queste leggi spuntare in un momento così difficile per i media tradizionali?
Io credo proprio di no, e sono inoltre convinto che questo sia solo l'inizio: se davvero vogliono, come io credo, fermare l'Internet che dissente e che "ruba" la raccolta pubblicitaria a giornali e televisioni, allora ci dobbiamo aspettare molto di peggio;
tra le altre cose: "strani ed inspiegabili" black-out verso siti "scomodi" o, più probabilmente, verso le communities dove il dissenso e il "furto della banda pubblicitaria" si veicolano più facilmente (non solo youtube, ma anche facebook e le piattaforme di blogging come blogger).
Datemi del paranoico, ma io sono il primo che vorrebbe esserlo...

Infine, Roberto, una risposta alla tua domanda (anche se non sembrava una domanda lo era, vero?): non è vero che non si risolve niente a parlare di queste cose; il semplice e pur "piccolo" impegno di un Roberto Recchioni da solo può valer poco (ma io credo che neppure questo sia vero), ma moltiplicato per parecchi Roberto Recchioni (Oddio ve lo immaginate?!?!?), ciascuno capace di raggiungere un bacino d'utenza diverso, sia l'unica cosa che può smuovere la coscienza della nostra italietta dal torpore in cui ci vogliano lasciare questi loschi figuri (anche se credo che siano tanti i cittadini italiani ai quali questo stato di torpore stia molto bene).

Volevo concludere ringraziando il RRobe per l'argomento e per l'ottima trattazione... e voi che commentate: piccoli contributi, ma di sicuro non inutili.

Ciao,
Nicola

Friday, February 6, 2009

"L’Italia non è più un paese civile."

L’Italia non è più un paese civile.

(Beppino Englaro, il padre di Eluana Englaro, ieri)