mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 12:17:11 +01:00 
			
		
		
		
	clarify duration unit in docs
This commit is contained in:
		 Julia Paluch
					Julia Paluch
				
			
				
					committed by
					
						 Martin Hořeňovský
						Martin Hořeňovský
					
				
			
			
				
	
			
			
			 Martin Hořeňovský
						Martin Hořeňovský
					
				
			
						parent
						
							3157d6bbf1
						
					
				
				
					commit
					4f1b24df77
				
			| @@ -365,14 +365,14 @@ There are currently two warnings implemented: | ||||
| ## Reporting timings | ||||
| <pre>-d, --durations <yes/no></pre> | ||||
|  | ||||
| When set to ```yes``` Catch will report the duration of each test case, in milliseconds. Note that it does this regardless of whether a test case passes or fails. Note, also, the certain reporters (e.g. Junit) always report test case durations regardless of this option being set or not. | ||||
| When set to ```yes``` Catch will report the duration of each test case, in seconds with millisecond precision. Note that it does this regardless of whether a test case passes or fails. Note, also, the certain reporters (e.g. Junit) always report test case durations regardless of this option being set or not. | ||||
|  | ||||
| <pre>-D, --min-duration <value></pre> | ||||
|  | ||||
| > `--min-duration` was [introduced](https://github.com/catchorg/Catch2/pull/1910) in Catch2 2.13.0 | ||||
|  | ||||
| When set, Catch will report the duration of each test case that took more | ||||
| than <value> seconds, in milliseconds. This option is overridden by both | ||||
| than <value> seconds, in seconds with millisecond precision. This option is overridden by both | ||||
| `-d yes` and `-d no`, so that either all durations are reported, or none | ||||
| are. | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user