Skip to content
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Please read our [Code of Conduct](.github/CODE_OF_CONDUCT.md) before contributin
1. Fork the repository
2. Create a feature branch: `git checkout -b feature/your-feature`
3. Make your changes
4. Run tests: `nftban smoke`
4. Run smoke tests: `nftban smoke` (non-destructive) or `nftban selftest` (lab/deep validation)
5. Commit with clear messages
6. Push and create a PR

Expand Down Expand Up @@ -312,9 +312,12 @@ wip
### Running Tests

```bash
# Quick smoke test
# Non-destructive smoke (safe for CI, routine checks)
nftban smoke

# Extended system validation (includes controlled state changes — ban/unban lifecycle, whitelist tests)
nftban selftest

# Full test suite
./tests/test_all_commands.sh

Expand All @@ -327,7 +330,7 @@ go test ./...

### Test Before PR

1. All commands work: `nftban smoke`
1. Smoke tests pass: `nftban smoke` (non-destructive, CI-safe)
2. ShellCheck passes (warnings OK)
3. Go builds without errors
4. No regressions in existing functionality
Expand Down
Loading
Loading