[PR #919] test: reuse integration setup #1060

Open
opened 2025-11-01 21:10:10 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/919
Author: @dpschen
Created: 6/11/2025
Status: 🔄 Open

Base: mainHead: feat/create-testmain-for-setup-and-state-reset


📝 Commits (1)

  • 150f2ac test: reuse integration setup

📊 Changes

4 files changed (+85 additions, -57 deletions)

View changed files

📝 pkg/integrations/api_tokens_test.go (+13 -19)
📝 pkg/integrations/caldav_test.go (+32 -31)
📝 pkg/integrations/integrations.go (+4 -7)
pkg/integrations/main_test.go (+36 -0)

📄 Description

Summary

  • reuse integration test environment via TestMain
  • load fixtures before each request without rebuilding router
  • adapt CalDAV and API token tests to new setup

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-vikunja/vikunja/pull/919 **Author:** [@dpschen](https://github.com/dpschen) **Created:** 6/11/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/create-testmain-for-setup-and-state-reset` --- ### 📝 Commits (1) - [`150f2ac`](https://github.com/go-vikunja/vikunja/commit/150f2ac3be36402623bbd257d008a7dfe33f2c2b) test: reuse integration setup ### 📊 Changes **4 files changed** (+85 additions, -57 deletions) <details> <summary>View changed files</summary> 📝 `pkg/integrations/api_tokens_test.go` (+13 -19) 📝 `pkg/integrations/caldav_test.go` (+32 -31) 📝 `pkg/integrations/integrations.go` (+4 -7) ➕ `pkg/integrations/main_test.go` (+36 -0) </details> ### 📄 Description ## Summary - reuse integration test environment via TestMain - load fixtures before each request without rebuilding router - adapt CalDAV and API token tests to new setup --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-01 21:10:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#1060