Dierk Koenig wrote:
how about
ant.group(description:'...<b>login</b>')
? Just a thought.
Dierk
Yes, we could do some tricks like this too but at the DSL level
they don't see group at all but do see 'login'; yet 'group'
receives most prominence in the report and 'login' might be
bold but with less prominence because it is in the middle of
the description. I guess we could hack the style sheet to not
make 'group' bold if any bold tags appear in the description
but smells like a bit of a hack.
I guess I would like to see something general purpose that
didn't feel like a hack. Perhaps the reportAs attribute also
suffers from a slight taste of hackery. I'll have a bit more
of a think about whether macrodefs can somehow be utilised
from the Groovy world - I guess our experiences recently
with mixing WebTest and Groovy is that you don't want to
push the builder approach of AntBuilder too far out of
shape or you get unintended consequences and hard to explain
scripts.
Cheers, Paul.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Paul King
Sent: Montag, 22. Oktober 2007 14:21
To: [email protected]
Subject: [Webtest] possible enhancement to reporting
I have a customer that would like to add some convention or extra
attribute for reporting of groups. They would like something like:
<group description="..." reportAs="login">
...
</group>
It is actually used within our DSLs in Groovy:
def login(...) {
ant.group(description:'...', reportAs:'login') {
...
}
}
The 'reportAs' or 'label' or 'info' attribute would appear in the
report in bold instead of the current step name of 'group'.
This would allow our DSLs to end up more naturally reflected
in the reports.
Does this sound like it would be of general interest?
Cheers, Paul.
P.S. we could also explore whether we could make macrodef's
or other steps/tasks be able to make use of such a feature.
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest