code: func (r *SpecRunner) combineCoverprofiles(runners []*testrunner.TestRunner) error {
  
  	path, _ := filepath.Abs(r.getOutputDir())
  	if !fileExists(path) {
  		return fmt.Errorf("Unable to create combined profile, outputdir does not exist: %s", r.getOutputDir())
  	}
  
  	fmt.Println("path is " + path)
  
  	combined, err := os.OpenFile(filepath.Join(path, r.getCoverprofile()),
  		os.O_APPEND|os.O_WRONLY|os.O_CREATE, 0666)
  
  	if err != nil {
  		fmt.Printf("Unable to create combined profile, %v\n", err)
  		return nil // non-fatal error
  	}
  
  	for _, runner := range runners {
  		contents, err := ioutil.ReadFile(runner.CoverageFile)
  
  		if err != nil {
  			fmt.Printf("Unable to read coverage file %s to combine, %v\n", runner.CoverageFile, err)
  			return nil // non-fatal error
  		}
  
  		_, err = combined.Write(contents)
  
  		if err != nil {
  			fmt.Printf("Unable to append to coverprofile, %v\n", err)
  			return nil // non-fatal error
  		}
  	}
  
  	fmt.Println("All profiles combined")
  	return nil
  }
docs: // Combines all generated profiles in the specified directory