{"id":15127645,"url":"https://github.com/point-c/integration","last_synced_at":"2026-02-08T06:39:58.888Z","repository":{"id":217802208,"uuid":"744753785","full_name":"point-c/integration","owner":"point-c","description":"Tests for point-c Caddy modules","archived":false,"fork":false,"pushed_at":"2024-01-27T15:15:00.000Z","size":141,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-11T16:41:21.914Z","etag":null,"topics":["caddy","docker","dockerfile","golang","librespeed","librespeed-cli","templates","testing","wireguard","wireguard-go"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/point-c.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-17T23:55:29.000Z","updated_at":"2024-01-29T15:26:17.000Z","dependencies_parsed_at":"2024-01-18T10:41:58.397Z","dependency_job_id":"e39cb45d-596a-42ca-b442-9058e5154ec3","html_url":"https://github.com/point-c/integration","commit_stats":null,"previous_names":["point-c/integration"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/point-c%2Fintegration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/point-c%2Fintegration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/point-c%2Fintegration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/point-c%2Fintegration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/point-c","download_url":"https://codeload.github.com/point-c/integration/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247386276,"owners_count":20930618,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["caddy","docker","dockerfile","golang","librespeed","librespeed-cli","templates","testing","wireguard","wireguard-go"],"created_at":"2024-09-26T02:05:11.129Z","updated_at":"2026-02-08T06:39:54.120Z","avatar_url":"https://github.com/point-c.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Integration Tests for `point-c`\n\nThis suite contains integration tests designed to validate the functionality and performance of the [`point-c`](https://github.com/point-c/caddy) module within a Dockerized Caddy environment. These tests ensure that `point-c` works as expected under various conditions, using Caddy as a web server.\n\n## Prerequisites\n\nBefore running the tests, ensure you have the following installed:\n- Docker\n- Go (1.21 or newer)\n\n## Tests Overview\n\n### Download Test\n\nThis test evaluates the data transfer capabilities of `point-c` by downloading varying amounts of random data through both direct Caddy connections and VPN-tunneled connections. The test measures and outputs the time taken for each download, providing insights into the throughput and efficiency of data transfer.\n### Speedtest\n\nUtilizing the [`librespeed`](https://github.com/librespeed/speedtest) tool, this test benchmarks the network speed of `point-c`. It compares the speed of a direct connection to Caddy with that of a connection routed through the VPN, helping to quantify the performance impact of `point-c`.\nA table is printed after the test with the results.\n\n## Usage Instructions\n\n1. **Prepare the Environment**: Ensure Docker and Go are correctly installed and configured on your system.\n\n2. **Clone the Repository**: Clone the repository containing the integration tests to your local machine.\n\n3. **Navigate to the Test Directory**: Change into the directory containing the tests.\n\n4. **Run the Tests**: Execute the following command to start the integration tests:\n\n```bash\nsudo go test -v ./tests/...\n```\n\nThe -v flag provides verbose output, allowing you to see the progress and results of each test.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoint-c%2Fintegration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpoint-c%2Fintegration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoint-c%2Fintegration/lists"}