Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #14944
Closed
Open
Created Feb 18, 2015 by Damian Johnson@atagar

Allow just a single test to be run

Our run_tests.py presently has a '--test' argument that lets you only run just a single test module, or all test modules with a given prefix.

This is nice, but often we want to only run a single test. For example, just test/integ/control/controller.py's test_reattaching_listeners() method.

Presently you could test only this module with...

% ./run_tests.py --integ --test control.controller

But better would be to let you drill down even more like...

% ./run_tests.py --integ --test control.controller.test_reattaching_listeners
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking