• James Smith's avatar
    Adds a cli arg to `run_all_tests.py` for testing a selected extension (#753) · e90400b7
    James Smith authored
    # Description
    
    Add a cli argument `--extension` to run only unit tests for a selected
    extension. As an example:
    
    ```bash
    isaaclab -t --extension omni.isaac.lab_assets # Only runs tests under omni.isaac.lab_assets
    ```
    
    Fixes #752 
    
    ## Type of change
    
    - New feature (non-breaking change which adds functionality)
    
    ## Checklist
    
    - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
    `./isaaclab.sh --format`
    - [x] I have made corresponding changes to the documentation
    - [x] My changes generate no new warnings
    - [ ] I have added tests that prove my fix is effective or that my
    feature works
    - [ ] I have updated the changelog and the corresponding version in the
    extension's `config/extension.toml` file
    - [x] I have added my name to the `CONTRIBUTORS.md` or my name already
    exists there
    e90400b7
run_all_tests.py 12.2 KB