kopia lustrzana https://github.com/wagtail/wagtail
				
				
				
			
							rodzic
							
								
									ee837dedc5
								
							
						
					
					
						commit
						b61f688347
					
				|  | @ -57,7 +57,7 @@ From the root of the Wagtail codebase, run the following command to run all the | ||||||
| 
 | 
 | ||||||
| **Running only some of the tests** | **Running only some of the tests** | ||||||
| 
 | 
 | ||||||
| At the time of writing, Wagtail has well over 1000 tests, which takes a while to | At the time of writing, Wagtail has well over 2500 tests, which takes a while to | ||||||
| run. You can run tests for only one part of Wagtail by passing in the path as | run. You can run tests for only one part of Wagtail by passing in the path as | ||||||
| an argument to ``runtests.py``: | an argument to ``runtests.py``: | ||||||
| 
 | 
 | ||||||
|  | @ -65,6 +65,14 @@ an argument to ``runtests.py``: | ||||||
| 
 | 
 | ||||||
|     $ python runtests.py wagtail.wagtailcore |     $ python runtests.py wagtail.wagtailcore | ||||||
| 
 | 
 | ||||||
|  | You can also run tests for individual TestCases by passing in the path as | ||||||
|  | an argument to ``runtests.py`` | ||||||
|  | 
 | ||||||
|  | .. code-block:: console | ||||||
|  | 
 | ||||||
|  |     $ python runtests.py wagtail.wagtailcore.tests.test_blocks.TestIntegerBlock | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| **Testing against PostgreSQL** | **Testing against PostgreSQL** | ||||||
| 
 | 
 | ||||||
| By default, Wagtail tests against SQLite. You can switch to using PostgreSQL by | By default, Wagtail tests against SQLite. You can switch to using PostgreSQL by | ||||||
|  |  | ||||||
		Ładowanie…
	
		Reference in New Issue
	
	 Daniel Chimeno
						Daniel Chimeno