4 Commits

Author SHA1 Message Date
sslypushenko
da58c0828d Add parsing test uuids from test result
Test uuids are parsed from subunit test results and posted
to refstack API.

Depends on git https://review.openstack.org/#/c/161760/

Change-Id: I04740e3b190cd2248aa09ebc7539963c21c1e140
2015-03-05 18:07:58 +02:00
Paul Van Eck
54a34e6584 Allow parens in test names
Currently Tempest has some tests that are generated programmatically, each
having the same name, but different scenario parameters.
In a test-list or subunit result output, these tests are denoted something like:

tempest....test_flavor_create_negative[gate,negative](prop_ram_gen_none)
tempest....test_flavor_create_negative[gate,negative](prop_ram_gen_string)

Note: the only cases where parens occur in the test names are flavor tests.

Refstack parses out the [..] and the (..), and will leave duplicate tests in the results
json output. This can cause problems with the API, as the databaase table expects test names
to be unique.

This patch allows (..) to pass through so that these tests cases will be unique.

Change-Id: I16ebddfbc508f25b053183b3496a62b5bca9e580
2015-01-16 16:40:28 -08:00
sslypushenko
9403991171 Updating tests results format according to spec
Spec:
https://github.com/stackforge/refstack/blob/master/specs/approved/api-v1.md

Update patch:
https://review.openstack.org/#/c/146680/

Change-Id: I75c62090a45d742b88acdfe080e24d62658976ce
2015-01-15 19:51:10 +02:00
sslypushenko
65538f145d Rename refstack-client to refstack_client
This renaming and change of project structure is necessary for adding
the unit tests.

Change-Id: I1893afbb05c86c83312983b12ce601d59a7fb417
2014-09-23 15:17:17 +03:00