Created
          April 19, 2019 17:25 
        
      - 
      
 - 
        
Save ssmythe/c12cba2fb8c9ff5df7337838a56fe97d to your computer and use it in GitHub Desktop.  
    Pycharm unittest wrapper for bats
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import unittest | |
| import subprocess | |
| class BatsTests(unittest.TestCase): | |
| def test_run_bats(self): | |
| process = subprocess.run("/usr/bin/env bats --tap .".split()) | |
| self.assertEqual(process.returncode, 0) | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment