July 22, 2009
What I have
- Maven2
- Eclipse/IntelliJ IDEA
- Fast tests (unit tests)
- Slow tests (integration tests)
- Test coverage maven plugin (Cobertura)
I wish to
- run my fast tests (unit tests) from my IDE
- run my slow test (integration tests) from my IDE and maven
- run them all before committing code.
- create test coverage reports combining unit and integration tests
- create test coverage reports from unit tests only
Read the rest of this entry »
8 Comments |
Java, Testing, agile, integration, maven | Tagged: cobertura, Eclipse, IntelliJ IDEA, junit, maven, maven2, test coverage, testng |
Permalink
Posted by Ole Morten
September 26, 2008
Code is included in this post! I’ve written a small ruby script for polling a bamboo server for (multiple) build results, playing sounds for success and failure. It even controls lava lamps connected to a AM12 power outlet through a CM11 controller using the X10 protocol. You may get these at framtidshuset. To send the signals through your serial port(yeah, I know! serial port) to your CM11 controller, you need a program that takes arguments like this ‘command A1 on’, where A1 is the lamp/AM12 code and ‘on’ is the opposite of ‘off’ :) I use windows and ActiveHome’s (HomeControl) x10com32.exe (ships with the CM11 if bought from Framtidshuset), and on Linux you would use the free ‘heyu’ program. I’ve used heyu before and promise you it works.
Bamboo must have the Rest API enabled, a property setting you find somewhere in the bamboo settings.
Read the rest of this entry »
2 Comments |
Testing, agile | Tagged: Bamboo, CI, lamp control, lava lamp, x10 |
Permalink
Posted by Ole Morten
August 6, 2008
My god, eclipse have they’re tests publicly available for you and me to view, and run!
I stumbled across this blog in a hopeless hunt for good articles about FitNesse, test data exhaustion -duplication, -hard-coding and other dreadful things.
Yes, eclipse foundation has executable tests in production. You may view the testflow (and workflow) in the swim framework. Swim impresses me (see eclipse swim pdf). Seems a bit crazy at first, but they’ve got to be doing something right in their testing (and test process) when they can have such automatic tests running in production . See the test result for eclipses election of committers and be stunned!
I’m not the only one curios about this. Repeated, here’s the blog post that I stumbled upon, here
Hope I get to try it, things always tend to look better than they are…
Leave a Comment » |
Testing, agile |
Permalink
Posted by Ole Morten