mirror of
				https://github.com/StackExchange/dnscontrol.git
				synced 2025-10-31 08:26:26 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			500 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			500 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ## Debugger
 | |
| 
 | |
| Test a particular function:
 | |
| 
 | |
| ```shell
 | |
| dlv test github.com/StackExchange/dnscontrol/v3/pkg/diff2 -- -test.run Test_analyzeByRecordSet
 | |
|                                                 ^^^^^^^^^
 | |
|                                                 Assumes you are in the pkg/diff2 directory.
 | |
| ```
 | |
| 
 | |
| Debug the integration tests:
 | |
| 
 | |
| ```shell
 | |
| dlv test github.com/StackExchange/dnscontrol/v3/integrationTest -- -test.v -test.run ^TestDNSProviders -verbose -provider NAMEDOTCOM -start 1 -end 1 -diff2
 | |
| ```
 |