× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Did you already had a look at version 3.0.1? It comes with the new XMLSTMF parameter, which seems to cover what you asked for:

XML stream file (XMLSTMF) - Help

Name of an XML stream file that contains the result of the
unit test. The XML file is created with a format, which can be
parsed by a Jenkins build server. Existing files are replaced.

You can use the following replacement variables to produce the
name of the XML stream file on the fly:

Command parameters

<TSTPGM> : Name of the test test suite.
<TSTLIB> : Name of the library where the test suite is stored.

Function strftime()

%C : Century number [00-99], the year divided by 100.
%d : Day of the month [01-31].
%F : ISO Date Format, same as %Y-%m-%d.
%g : 2 digit year portion of ISO week date [00,99].
%H : Hour in 24-hour format [00-23].
%I : Hour in 12-hour format [01-12].
%j : Day of the year [001-366].
%m : Month [01-12].
%M : Minute [00-59].
%p : AM or PM string.
%R : 24-hour time format without seconds, same as %H.%M.
%S : Second [00-61].
%T : 24-hour time format with seconds, same as %H.%M.%S.
%u : Weekday [1,7]. Monday is 1 and Sunday is 7.
%U : Week number of the year [00-53]. Sunday is first day of week.
%V : ISO week number of the year [01-53]. Monday is first day of week.
%w : Weekday [0,6], Sunday is 0.
%W : Week number of the year [00-53]. Monday is first day of week.
%y : 2 digit year [00,99].

The table above shows some but not all variables of the
strftime() function. Some replacement variables, which are not
listed here, are not allowed, because they may contain illegal
characters.

The following XML stream file name:

<TSTPGM>-%F-%T.xml

Is resolved as shown below, when parameter TSTPGM is set to
'MYUNITTEST':

MYUNITTEST-2019-05-22-20.58.15.xml

*NONE
No XML result stream file is created.

xml-stream-file-name
Name of the XML stream file that contains the result of
the unit test.

Regards,

Thomas.

-----Ursprüngliche Nachricht-----
Von: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxxxxxxxx] Im Auftrag von Mark Murphy
Gesendet: Dienstag, 17. Dezember 2019 19:48
An: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Betreff: Re: [WDSCI-L] Where does iRPGUnit put its reports?

The reason for this query is that I have been thinking a lot about process
automation, and output to an *OUTFILE of some sort would be much better
than having to parse a spool file for that. In fact something that can be
processed by the same programs that process JUnit output would be optimal.

On Mon, Dec 16, 2019 at 1:16 AM Thomas Raddatz <thomas.raddatz@xxxxxx>
wrote:

Mark,

iRPGUnit produces a spooled file report, if parameter OUTPUT is set to
*ALLWAYS or *ERROR. No report is created, when OUTPUT is set to *NONE.
There is also no report, when OUTPUT is set to *ERROR and the unit test
ends without errors.

So usually the best option is OUTPUT(*ALLWAYS).

Regards,

Thomas.

-----Ursprüngliche Nachricht-----
Von: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxxxxxxxx] Im Auftrag von
Mark Murphy
Gesendet: Freitag, 13. Dezember 2019 22:18
An: Rational Developer for IBM i / Websphere Development Studio Client for
System i & iSeries
Betreff: [WDSCI-L] Where does iRPGUnit put its reports?

I see that I can run test scripts from a command line (and therefor from a
CLP), but where does the report go if RDi is not there to receive it? Does
it produce a report like JUnit?
--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/wdsci-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or
reliance on any of it by anyone else is prohibited and may be a criminal
offence. Please delete if obtained in error and email confirmation to the
sender.

--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/wdsci-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.