-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trying to make junit report on github actions
- Loading branch information
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="utf-8"?><testsuites><testsuite name="pytest" errors="0" failures="1" skipped="0" tests="3" time="0.195" timestamp="2024-06-24T10:18:56.614941" hostname="soler"><testcase classname="tests.test_load" name="test_load_positive_has_2_people" time="0.003"><failure message="AssertionError: assert 3 == 2 + where 3 = len(['Jim Halpert, Sales, Salesman, [email protected]', 'Dwight Schrute, Sales, Manager, [email protected]', 'Gabe Lewis, Directory, Manager, [email protected]']) + where ['Jim Halpert, Sales, Salesman, [email protected]', 'Dwight Schrute, Sales, Manager, [email protected]', 'Gabe Lewis, Directory, Manager, [email protected]'] = load('tests/assets/people.csv')">request = <FixtureRequest for <Function test_load_positive_has_2_people>> | ||
|
||
@pytest.mark.unit | ||
@pytest.mark.high | ||
def test_load_positive_has_2_people(request): | ||
"""Test load function has 2 people.""" | ||
> assert len(load(PEOPLE_FILE)) == 2 | ||
E AssertionError: assert 3 == 2 | ||
E + where 3 = len(['Jim Halpert, Sales, Salesman, [email protected]', 'Dwight Schrute, Sales, Manager, [email protected]', 'Gabe Lewis, Directory, Manager, [email protected]']) | ||
E + where ['Jim Halpert, Sales, Salesman, [email protected]', 'Dwight Schrute, Sales, Manager, [email protected]', 'Gabe Lewis, Directory, Manager, [email protected]'] = load('tests/assets/people.csv') | ||
|
||
tests/test_load.py:10: AssertionError</failure></testcase><testcase classname="tests.test_load" name="test_load_positive_first_name_starts_with_j" time="0.000" /><testcase classname="integration.test_load" name="test_load" time="0.050" /></testsuite></testsuites> |