mirror of
https://gitlab.com/TECHNOFAB/nixtest.git
synced 2025-12-15 19:43:54 +01:00
chore: rename module to uppercase
This commit is contained in:
parent
5a7053afcb
commit
318b903d12
14 changed files with 28 additions and 28 deletions
|
|
@ -3,14 +3,14 @@ package main
|
|||
import (
|
||||
"os"
|
||||
|
||||
"gitlab.com/technofab/nixtest/internal/config"
|
||||
appnix "gitlab.com/technofab/nixtest/internal/nix"
|
||||
"gitlab.com/technofab/nixtest/internal/report/console"
|
||||
"gitlab.com/technofab/nixtest/internal/report/junit"
|
||||
"gitlab.com/technofab/nixtest/internal/runner"
|
||||
appsnap "gitlab.com/technofab/nixtest/internal/snapshot"
|
||||
"gitlab.com/technofab/nixtest/internal/types"
|
||||
"gitlab.com/technofab/nixtest/internal/util"
|
||||
"gitlab.com/TECHNOFAB/nixtest/internal/config"
|
||||
appnix "gitlab.com/TECHNOFAB/nixtest/internal/nix"
|
||||
"gitlab.com/TECHNOFAB/nixtest/internal/report/console"
|
||||
"gitlab.com/TECHNOFAB/nixtest/internal/report/junit"
|
||||
"gitlab.com/TECHNOFAB/nixtest/internal/runner"
|
||||
appsnap "gitlab.com/TECHNOFAB/nixtest/internal/snapshot"
|
||||
"gitlab.com/TECHNOFAB/nixtest/internal/types"
|
||||
"gitlab.com/TECHNOFAB/nixtest/internal/util"
|
||||
|
||||
"github.com/rs/zerolog"
|
||||
"github.com/rs/zerolog/log"
|
||||
|
|
|
|||
2
go.mod
2
go.mod
|
|
@ -1,4 +1,4 @@
|
|||
module gitlab.com/technofab/nixtest
|
||||
module gitlab.com/TECHNOFAB/nixtest
|
||||
|
||||
go 1.23.0
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import (
|
|||
"os/exec"
|
||||
"strings"
|
||||
|
||||
apperrors "gitlab.com/technofab/nixtest/internal/errors"
|
||||
apperrors "gitlab.com/TECHNOFAB/nixtest/internal/errors"
|
||||
)
|
||||
|
||||
// Service defines operations related to Nix
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import (
|
|||
"strings"
|
||||
"testing"
|
||||
|
||||
apperrors "gitlab.com/technofab/nixtest/internal/errors"
|
||||
apperrors "gitlab.com/TECHNOFAB/nixtest/internal/errors"
|
||||
)
|
||||
|
||||
func TestHelperProcess(t *testing.T) {
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@ import (
|
|||
"github.com/jedib0t/go-pretty/v6/text"
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/sergi/go-diff/diffmatchpatch"
|
||||
"gitlab.com/technofab/nixtest/internal/types"
|
||||
"gitlab.com/technofab/nixtest/internal/util"
|
||||
"gitlab.com/TECHNOFAB/nixtest/internal/types"
|
||||
"gitlab.com/TECHNOFAB/nixtest/internal/util"
|
||||
)
|
||||
|
||||
// PrintErrors prints error messages for failed tests
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/jedib0t/go-pretty/v6/text"
|
||||
"gitlab.com/technofab/nixtest/internal/types"
|
||||
"gitlab.com/TECHNOFAB/nixtest/internal/types"
|
||||
)
|
||||
|
||||
// captureOutput captures stdout and stderr during the execution of a function
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"gitlab.com/technofab/nixtest/internal/types"
|
||||
"gitlab.com/technofab/nixtest/internal/util"
|
||||
"gitlab.com/TECHNOFAB/nixtest/internal/types"
|
||||
"gitlab.com/TECHNOFAB/nixtest/internal/util"
|
||||
)
|
||||
|
||||
type JUnitReport struct {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"gitlab.com/technofab/nixtest/internal/types"
|
||||
"gitlab.com/TECHNOFAB/nixtest/internal/types"
|
||||
)
|
||||
|
||||
func formatDurationSeconds(d time.Duration) string {
|
||||
|
|
|
|||
|
|
@ -9,10 +9,10 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/rs/zerolog/log"
|
||||
"gitlab.com/technofab/nixtest/internal/nix"
|
||||
"gitlab.com/technofab/nixtest/internal/snapshot"
|
||||
"gitlab.com/technofab/nixtest/internal/types"
|
||||
"gitlab.com/technofab/nixtest/internal/util"
|
||||
"gitlab.com/TECHNOFAB/nixtest/internal/nix"
|
||||
"gitlab.com/TECHNOFAB/nixtest/internal/snapshot"
|
||||
"gitlab.com/TECHNOFAB/nixtest/internal/types"
|
||||
"gitlab.com/TECHNOFAB/nixtest/internal/util"
|
||||
)
|
||||
|
||||
// Runner executes tests based on provided specifications and configuration
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
apperrors "gitlab.com/technofab/nixtest/internal/errors"
|
||||
"gitlab.com/technofab/nixtest/internal/types"
|
||||
apperrors "gitlab.com/TECHNOFAB/nixtest/internal/errors"
|
||||
"gitlab.com/TECHNOFAB/nixtest/internal/types"
|
||||
)
|
||||
|
||||
// --- Mock Service Implementations ---
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ import (
|
|||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
apperrors "gitlab.com/technofab/nixtest/internal/errors"
|
||||
"gitlab.com/technofab/nixtest/internal/util"
|
||||
apperrors "gitlab.com/TECHNOFAB/nixtest/internal/errors"
|
||||
"gitlab.com/TECHNOFAB/nixtest/internal/util"
|
||||
)
|
||||
|
||||
// Service defines operations related to test snapshots
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import (
|
|||
"strings"
|
||||
"testing"
|
||||
|
||||
apperrors "gitlab.com/technofab/nixtest/internal/errors"
|
||||
apperrors "gitlab.com/TECHNOFAB/nixtest/internal/errors"
|
||||
)
|
||||
|
||||
func TestDefaultService_GetPath(t *testing.T) {
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import (
|
|||
|
||||
"github.com/akedrou/textdiff"
|
||||
"github.com/akedrou/textdiff/myers"
|
||||
apperrors "gitlab.com/technofab/nixtest/internal/errors"
|
||||
apperrors "gitlab.com/TECHNOFAB/nixtest/internal/errors"
|
||||
)
|
||||
|
||||
func ComputeDiff(expected, actual string) (string, error) {
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import (
|
|||
"strings"
|
||||
"testing"
|
||||
|
||||
apperrors "gitlab.com/technofab/nixtest/internal/errors"
|
||||
apperrors "gitlab.com/TECHNOFAB/nixtest/internal/errors"
|
||||
)
|
||||
|
||||
func TestComputeDiff(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue