913 B
913 B
Tests for valid.nsupdate_zone collection
This directory contains tests for the nsupdate_zone module.
Unit Tests
Unit tests are located in unit/plugins/modules/ and test individual module functions.
To run unit tests:
ansible-test units --docker
Integration Tests
Integration tests are located in integration/targets/ and test actual DNS operations.
Note: Integration tests require a running DNS server with AXFR and UPDATE enabled.
To run integration tests:
ansible-test integration --docker
Manual Testing
For manual testing, see the examples in docs/:
docs/nsupdate_zone_example.yml- Comprehensive example playbookdocs/sample_zone_format.yml- Sample zone file formatdocs/QUICK_START.md- Quick start guide
Test Requirements
- DNS server (BIND recommended) with AXFR and UPDATE enabled
- TSIG key configured
- Python package: dnspython