Files
koenieee 049b208958 Remove configuration validation tests from comprehensive test suite
- Removed configuration validation test section from test_all.sh
- Tests expected invalid configs to fail, but with performance optimization
  (skip processing when no IP change), invalid configs return success
- This aligns with the intended behavior: skip validation when no changes needed
- Maintains performance optimization while removing conflicting test expectations
- Only network-dependent hostname resolution test remains (expected to fail in CI)
2025-10-06 08:47:25 +02:00
..
2025-09-30 14:27:14 +02:00
2025-09-30 15:31:44 +02:00

DDNS Updater - Test Scripts

This directory contains all the shell scripts for testing the DDNS Updater project.

Scripts

test_cli_simple.sh

Simple and reliable CLI integration tests.

./test_cli_simple.sh

test_all.sh

Comprehensive test suite including unit tests, CLI tests, and quality checks.

./test_all.sh

test_cli.sh

Original CLI test script (more complex version).

./test_cli.sh

fix_quality.sh

Code quality fixer - formats code and reports linting issues.

./fix_quality.sh

Usage

From the project root directory:

# Run comprehensive tests
./scripts/test_all.sh

# Run just CLI tests
./scripts/test_cli_simple.sh

# Fix code formatting
./scripts/fix_quality.sh

Or from the scripts directory:

cd scripts/
./test_all.sh           # Works from either location
./test_cli_simple.sh    # Works from either location
./fix_quality.sh        # Works from either location

All scripts automatically detect their location and adjust paths accordingly.

All scripts are executable and include colored output for better readability.