Skip to content

Files

Latest commit

01c65cf · Feb 2, 2025

History

History

tests

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 22, 2020
Feb 18, 2020
Jan 24, 2025
Jul 10, 2021
Aug 28, 2021
Jan 28, 2025
Jul 9, 2022
Jul 9, 2022
Jun 23, 2022
Feb 27, 2020
Mar 12, 2023
Jun 23, 2022
Jun 23, 2022
Jan 21, 2024
Jun 23, 2022
Jun 23, 2022
Feb 2, 2025
Jun 23, 2022
Jul 10, 2021
Jun 23, 2022
Jan 21, 2024
Jan 21, 2024
Jan 30, 2025

maddy integration testing

Tests structure

The test library creates a temporary state and runtime directory, starts the server with the specified configuration file and lets you interact with it using a couple of convenient wrappers.

Running

To run tests, use go test -tags integration in this directory. Make sure to have a maddy executable in the current working directory. Use -integration.executable if the executable is named different or is placed somewhere else. Use -integration.coverprofile to pass -test.coverprofile your_value.RANDOM to test executable. See ./build_cover.sh to build a server executable instrumented with coverage counters.