mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 01:47:59 +03:00 
			
		
		
		
	Add coverage to runtests. Closes #2936.
This commit is contained in:
		
							parent
							
								
									a8acdbc388
								
							
						
					
					
						commit
						db40b7eb91
					
				| 
						 | 
				
			
			@ -1,3 +1,4 @@
 | 
			
		|||
# PyTest for running the tests.
 | 
			
		||||
pytest==2.6.4
 | 
			
		||||
pytest-django==2.8.0
 | 
			
		||||
pytest-cov==1.8.1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,7 +8,7 @@ import sys
 | 
			
		|||
import pytest
 | 
			
		||||
 | 
			
		||||
PYTEST_ARGS = {
 | 
			
		||||
    'default': ['tests', '--tb=short', '-s'],
 | 
			
		||||
    'default': ['tests', '--tb=short', '-s', '--cov', 'rest_framework'],
 | 
			
		||||
    'fast': ['tests', '--tb=short', '-q', '-s'],
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user