mirror of
				https://github.com/shokinn/hosts-go.git
				synced 2025-11-03 20:18:32 +00:00 
			
		
		
		
	docs: Enhance testing guidelines to include interactive UI testing
This commit is contained in:
		
							parent
							
								
									63c0d38455
								
							
						
					
					
						commit
						e59af1cb02
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -15,7 +15,7 @@
 | 
			
		|||
## Development Guidelines
 | 
			
		||||
- **Language:** Go using modules.
 | 
			
		||||
- **Formatting:** run `gofmt -w` on modified Go files.
 | 
			
		||||
- **Testing:** practice TDD and run `go test ./...` before committing.
 | 
			
		||||
- **Testing:** practice TDD and run `go test ./...` before committing, also Test the Application interactively, to ensure the UI is also correct.
 | 
			
		||||
- **Linting:** run `golangci-lint run` when available.
 | 
			
		||||
- **Structure:** keep application code inside `internal/` packages and follow existing patterns for `core`, `tui`, and `utils`.
 | 
			
		||||
- **Error Handling:** return errors instead of panicking and provide clear messages.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue