10 lines
		
	
	
		
			382 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			382 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/bin/bash
 | |
| set -o nounset -o pipefail -o errexit
 | |
| cd "$(dirname "$0")/.."
 | |
| 
 | |
| ################################################################################
 | |
| # Run PHPUnit with code coverage (requires Xdebug).
 | |
| ################################################################################
 | |
| 
 | |
| exec php -d xdebug.coverage_enable=On vendor/bin/phpunit --coverage-html test-coverage "$@"
 |