[Notes] [Git][BuildStream/buildstream][master] 2 commits: HACKING.rst: Add running a single test example



Title: GitLab

Tom Pollard pushed to branch master at BuildStream / buildstream

Commits:

1 changed file:

Changes:

  • HACKING.rst
    ... ... @@ -470,6 +470,11 @@ the frontend tests you can do::
    470 470
     
    
    471 471
       ./setup.py test --addopts '-k tests/frontend/'
    
    472 472
     
    
    473
    +Specific tests can be chosen by using the :: delimeter after the test module.
    
    474
    +If you wanted to run the test_build_track test within frontend/buildtrack.py you could do::
    
    475
    +
    
    476
    +  ./setup.py test --adopts '-k tests/frontend/buildtrack.py::test_build_track'
    
    477
    +
    
    473 478
     We also have a set of slow integration tests that are disabled by
    
    474 479
     default - you will notice most of them marked with SKIP in the pytest
    
    475 480
     output. To run them, you can use::
    



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]