code: def run(config, path=None, stop_on_error=True, just_tests=False):
      
      if path is None:
          path = os.getcwd()
      prep(config, path=path)
  
      models = __import__('models')
      tests = __import__('tests')
      suites = __import__('suites')
  
      print('\n')
      for x in ['models', 'tests', 'suites']:
          module = __import__(x)
          assert hasattr(module, x), "'%s' module requires attribute '%s'" %\
                                     (x, x)
  
      if just_tests:
          for test in tests.tests:
              _run(test, models, stop_on_error)
  
      else:
          for suite in suites.suites:
              _run(suite, models, stop_on_error)
docs: Run sciunit tests for the given configuration.