Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • slapos slapos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 129
    • Merge requests 129
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slaposslapos
  • Merge requests
  • !862

Use nxdtest in SlapOS tests

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Jérome Perrin requested to merge jerome/slapos:feat/nxdtest into master Nov 20, 2020
  • Overview 39
  • Commits 3
  • Pipelines 16
  • Changes 10
  • switch software/slapos-testing (SlapOS.Eggs.UnitTest-*) to use nxdtest and update README to describe how to run tests locally with nxdtest's runTestSuite. Switch tests to python -m unittest (or slight variations) instead of the deprecated python setup.py, except a few tests which only pass when invoked with setup.py.
  • switch software/slapos-sr-testing (SlapOS.SoftwareReleases.IntegrationTest-*) to use nxdtest and update README to describe how to run tests locally with nxdtest's runTestSuite. Switch all tests to python -m unittest discover intead of the deprecated python setup.py - which was especially problematic in these tests, because it sets $PYTHONPATH which affect subprocesses ran by the tests. In follow up commits we'll drop the workarounds for $PYTHONPATH.

EggTestSuite becomes unused and will be removed in follow up changes.

Edited Nov 27, 2020 by Jérome Perrin
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feat/nxdtest
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7