Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
slapos slapos
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 122
    • Merge requests 122
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • 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
None
Milestone
None
Assign milestone
Time tracking
Source branch: feat/nxdtest
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7