Commit Graph

3 Commits

Author SHA1 Message Date
Ulf Magnusson 70b6892575 test_requirements.txt: Add setuptools-scm, to fix Python 3.4
Add setuptools-scm to test_requirements.txt to work around an issue on
Python 3.4:

  distutils.errors.DistutilsError: Could not find suitable
  distribution for Requirement.parse('setuptools-scm>=1.15.0')

Not sure why it didn't appear before. Maybe something in CI changed.

See https://github.com/pypa/pypi-legacy/issues/322 and
https://github.com/pytest-dev/pytest-xdist/issues/136. I suspect the
issue is related to setup_requires= using easy_install.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2018-09-21 16:50:54 -06:00
Marti Bolivar ce3f4fd565 tests_requirements.txt: add pytest-cov
This enables gathering of code coverage data during testing.

Signed-off-by: Marti Bolivar <marti@foundries.io>
2018-08-21 14:54:29 -05:00
Marti Bolivar 9b7d58343f Add py.test-based test infrastructure
Follow along with what the cool kids are doing and add py.test
integration.

This patch doesn't add any test cases, but sets up packages to
test the runner classes as additional work.

To run the test suite, use:

$ python3 setup.py test

Since there are no tests, these pass.

Signed-off-by: Marti Bolivar <marti@foundries.io>
2018-08-20 09:17:57 -07:00