# BW AI Schema Pro — Testing

**Last Updated:** 2026-05-06

## Pre-release Checklist

Before releasing a new version, verify:

- [ ] Plugin activates without errors on a fresh WP install
- [ ] Plugin activates without errors on an upgrade from the previous version
- [ ] Plugin deactivates cleanly
- [ ] Plugin uninstalls cleanly (when uninstall.php cleanup logic is filled in)
- [ ] No PHP notices or warnings with `WP_DEBUG` enabled
- [ ] Admin UI renders correctly
- [ ] Settings persist across reloads
- [ ] Schema output is unchanged compared to previous version (regression check on `view-source` of a sample post)
- [ ] `tools/cleanup-scan.sh bw-ai-schema-pro` passes
- [ ] `tools/security-scan.sh bw-ai-schema-pro` passes
- [ ] `tools/test-plugin.sh bw-ai-schema-pro` passes (note: see KNOWN-ISSUES.md "Version constant naming")
- [ ] CHANGELOG.md updated with real changes
- [ ] README.md user-facing sections still accurate

## Manual Test Cases

### Activation / Deactivation

1. Install plugin from zip on a fresh WP site
2. Activate — verify no errors in `WP_DEBUG` log
3. Configure default settings, save
4. Deactivate — verify no orphaned cron jobs / transients
5. Reactivate — verify settings are preserved

### Schema rendering

1. Create a test post
2. View page source, find `<script type="application/ld+json">` block
3. Validate JSON-LD with Google Rich Results Test
4. Compare output to a known-good snapshot from the previous version

### Author / Team detection

(Fill in once team-detector behavior is documented in SPEC.md.)

### Gutenberg blocks

(Fill in per block.)

## Automated Tests

(Phase 2: phpunit setup — not yet configured.)
