Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » GTK+
  • » gtester output and Bitten test report [RSS Feed]

#1 Jan. 12, 2011 01:16:07

W. M.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

gtester output and Bitten test report


Hi,

I wrote a trivial (Python) script to transform gtester output
into a Bitten test report. However, I'm not sure about the
correct mapping of elements. Maybe somebody has an idea?

I could not find a description of the gtester XML output, at
least glib does not contain a DTD or RNG, but that's how it
looks like:

<?xml version="1.0"?>
<gtester>
<testbinary path="./binary-under-test">
<binary file="./binary-under-test"/>
<random-seed>Rsome-random-string</random-seed>
<testcase path="/path/to/test">
<duration>0.001</duration>
<status exit-status="0" n-forks="0" result="success"/>
</testcase>
<duration>0.01</duration>
</testbinary>
</gtester>

The source code contains also
<error>
<message>
<performance minimize= maximize= value= >

Bitten test reports are documented here:http://bitten.edgewall.org/wiki/Documentation/reports.html#test-reportsand look like this:

<report category="test">
<test>
<duration>0.001</duration>
<status>success</status>
<name>test_name</name>
</test>
</report>

OK, testcase/duration and testcase/status are easy, but is it
useful to map gtesters testcase path to Bittens test/name?

Thanks in advance!

PS: I will post the 20..30 lines script here, when it's ready.
_______________________________________________
gtk-list mailing list
gtk-list@gnome.orghttp://mail.gnome.org/mailman/listinfo/gtk-list

Offline

  • Root
  • » GTK+
  • » gtester output and Bitten test report [RSS Feed]

Board footer

Moderator control

Enjoy the 19th of August
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support