Skip to content

Commit 3bf25ff

Browse files
authored
Merge pull request #22 from vtbassmatt/pour-some-xml-on-it
Add unittest-xml-reporting
2 parents 51c666a + a5d7938 commit 3bf25ff

File tree

9 files changed

+25
-1
lines changed

9 files changed

+25
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ RUN pip install --upgrade pip
2929

3030
COPY --chown=test:test tests/requirements/ /requirements/
3131
RUN for f in /requirements/*.txt; do pip install -r $f; done && \
32-
pip install flake8 flake8-isort sphinx pyenchant sphinxcontrib-spelling selenium
32+
pip install flake8 flake8-isort sphinx pyenchant sphinxcontrib-spelling selenium unittest-xml-reporting
3333

3434
RUN mkdir /tests && chown -R test:test /tests
3535
USER test:test

settings/test_mariadb.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,6 @@
4343
'KEY_PREFIX': '2:'
4444
}
4545
}
46+
47+
TEST_RUNNER = 'xmlrunner.extra.djangotestrunner.XMLTestRunner'
48+
TEST_OUTPUT_DIR = '/tests/django/output/'

settings/test_mysql.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,6 @@
4343
'KEY_PREFIX': '2:'
4444
}
4545
}
46+
47+
TEST_RUNNER = 'xmlrunner.extra.djangotestrunner.XMLTestRunner'
48+
TEST_OUTPUT_DIR = '/tests/django/output/'

settings/test_mysql_gis.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@
2929
]
3030

3131
GEOIP_PATH = '/geolite2/'
32+
33+
TEST_RUNNER = 'xmlrunner.extra.djangotestrunner.XMLTestRunner'
34+
TEST_OUTPUT_DIR = '/tests/django/output/'

settings/test_oracle.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,6 @@
4545
'KEY_PREFIX': '2:'
4646
}
4747
}
48+
49+
TEST_RUNNER = 'xmlrunner.extra.djangotestrunner.XMLTestRunner'
50+
TEST_OUTPUT_DIR = '/tests/django/output/'

settings/test_postgres.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,6 @@
5151
'KEY_PREFIX': '2:'
5252
}
5353
}
54+
55+
TEST_RUNNER = 'xmlrunner.extra.djangotestrunner.XMLTestRunner'
56+
TEST_OUTPUT_DIR = '/tests/django/output/'

settings/test_postgres_gis.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,6 @@
3737
]
3838

3939
GEOIP_PATH = '/geolite2/'
40+
41+
TEST_RUNNER = 'xmlrunner.extra.djangotestrunner.XMLTestRunner'
42+
TEST_OUTPUT_DIR = '/tests/django/output/'

settings/test_sqlite.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,6 @@
4444
'KEY_PREFIX': '2:'
4545
}
4646
}
47+
48+
TEST_RUNNER = 'xmlrunner.extra.djangotestrunner.XMLTestRunner'
49+
TEST_OUTPUT_DIR = '/tests/django/output/'

settings/test_sqlite_gis.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@
2929
]
3030

3131
GEOIP_PATH = '/geolite2/'
32+
33+
TEST_RUNNER = 'xmlrunner.extra.djangotestrunner.XMLTestRunner'
34+
TEST_OUTPUT_DIR = '/tests/django/output/'

0 commit comments

Comments
 (0)