InstinctReport ant task.

0 views
Skip to first unread message

Jeremy Mawson

unread,
Nov 4, 2008, 5:55:00 AM11/4/08
to instin...@googlegroups.com
G'day

This is just a quick note to say that I've been progressing on the
instinct report ant task. The functionality is in place (but not yet
committed) to create reports like the attached file.

I've only focussed testing on happy day scenarios, so I've more work to
do in making sure it's robust.

The report is based on the rspec report, as you suggested Tom. I've
stripped out javascript functions that are redundant for our needs and
still have more work to do to trim down the css.

At this stage the task itself is simply declared as:

<instinct-report file="${spec.report.file}">
<!-- points to the XML file results from instinct task -->
<fileset dir="${spec.reports.dir}">
<include name="SPEC-*.xml"/>
</fileset>
</instinct-report>

Feedback is welcomed,
Jem

report.html

Tom Adams

unread,
Nov 4, 2008, 6:22:21 PM11/4/08
to instin...@googlegroups.com
Hey Jem,

That rocks! Well done. Are you using this yourself on your projects?
I'm off in Objective C Ruby land ATM so don't have any real live java
projects to test this on.

One comment I might make is that this looks pretty stand alone, i.e.
it takes JUnit-style XML and turns it into a HTML report. Perhaps it
could be broken out into a new project (which admittedly is a lot of
overhead).

Cheers,
Tom

> --

tom adams | e:tomjadams<at>gmail.com

Jem

unread,
Nov 4, 2008, 8:08:01 PM11/4/08
to instin...@googlegroups.com
Thanks very much Tom,

I'm not using this yet myself. After wrapping up the report I need to get the maven plugin done, then it should be a goer.

The task you describe exists as junitreport in ant optional. I think this report task is tied specifically to instinct as it requires the class names to describe the subject and the method names to describe the behaviour. Otherwise the report wouldn't make much sense.

Cheers
Jem


2008/11/5 Tom Adams <tomj...@gmail.com>



--
http://mawson.wordpress.com/
Reply all
Reply to author
Forward
0 new messages