Skip to content

Take correct test_name for both yml declared tests and tests from files - #2

Open
SOVALINUX wants to merge 15 commits into
chasleslr:mainfrom
SOVALINUX:main
Open

Take correct test_name for both yml declared tests and tests from files#2
SOVALINUX wants to merge 15 commits into
chasleslr:mainfrom
SOVALINUX:main

Conversation

@SOVALINUX

@SOVALINUX SOVALINUX commented May 18, 2022

Copy link
Copy Markdown

Hi
Could you please take a look on the change
I've find out that this lib is not working for the case when test is declared in separate sql file
Here is the piece of junit.xml

<testcase name="unique_latest_locations_by_location_id_risky_entity_id" time="15.141046" classname="test.anywhere_analytics.unique_latest_locations_by_location_id_risky_entity_id.8c6da83e6c" status="pass"/>
<testcase name="anywhere_analytics" time="34.104480" classname="test.anywhere_analytics.test_applicants_with_incorrect_employee_ids" status="fail">
	<failure type="failure" message="Got 4 results, configured to fail if != 0"/>
</testcase>

Do you aware of other formats of unique_id rather than

<type>.<project>.<name>.<auto-generated-id>?

SOVALINUX and others added 15 commits May 18, 2022 14:23
* [AS] add log to the report, change total testsuites time

* add sql

* update sql text

Co-authored-by: BUDAPEST\Aliaksandra_Sidarenk <aliaksandra_sidarenka@epam.com>
* [AS] add log to the report, change total testsuites time

* add sql

* update sql text

* [AS] remove sql file reading

* [AS] add log to the report, change total testsuites time

* add sql

* [AS] remove sql file reading

* sync with upstream

Co-authored-by: BUDAPEST\Aliaksandra_Sidarenk <aliaksandra_sidarenka@epam.com>
…sts in junit.xml + unit tests

* Integration with reportportal: add test case attributes (#3)

* [AS] add log to the report, change total testsuites time

* add sql

* update sql text

* [AS] remove sql file reading

* [AS] add log to the report, change total testsuites time

* add sql

* [AS] remove sql file reading

* sync with upstream

* Add properties to junit xml report (#1)

* add custom properties

* update property validator

* update docstring

* Create python-app.yml

* Update pyproject.toml

* Update  actions (#2)

* add custom properties

* update property validator

* add tests

* add pytest action

* update actions

* update tests run

* add coverage

* add coverage

* fix pipeline

* fix pipeline

* fix pipeline

* fix tests

* fix tests

* add coverage config

* update poetry.lock

* update poetry.lock

* update actions

* update actions

* update actions

* update actions

* update import

* update readme

* update readme

* Update README
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants