Command-line options vs INI configuration. What are the best practices ? #717
Replies: 1 comment
-
| 
         You probably want to move this discussion here: https://github.com/pytest-dev/pytest/discussions  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Pytest allows external parameters via
command-line options
parser.addoption()configuration INI file
pytest.iniparser.addini()Is there a general guideline on when to use each of these 2 options ?
In which cases should I use command-line options and in which cases should I use the configuration INI file?
Beta Was this translation helpful? Give feedback.
All reactions