Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • slapos slapos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 124
    • Merge requests 124
  • 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
  • nexedi
  • slaposslapos
  • Merge requests
  • !862

Merged
Created Nov 20, 2020 by Jérome Perrin@jeromeOwner

Use nxdtest in SlapOS tests

  • 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
Reviewer
Request review from
Time tracking
Source branch: feat/nxdtest
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7