mix test.fixtures (pcap_file_ex v0.5.5)

View Source

Generates test fixture files for the test suite.

This task automatically generates PCAP and PCAPNG test fixtures required by the test suite. It requires dumpcap to be installed and properly configured for packet capture.

Usage

mix test.fixtures           # Generate only missing fixtures
mix test.fixtures --force   # Regenerate all fixtures

Options

--force    Force regeneration of all fixtures, even if they exist

Requirements

  • dumpcap (from Wireshark package)
  • Python 3
  • Proper permissions for packet capture

See README.md for platform-specific setup instructions.