De-integration the cmd/rove tests as well and massively simplify the tests output
This commit is contained in:
parent
79c07f359b
commit
3bfbe38837
5 changed files with 23 additions and 37 deletions
|
@ -1,4 +1,4 @@
|
|||
package integration
|
||||
package server
|
||||
|
||||
import (
|
||||
"os"
|
||||
|
@ -6,14 +6,13 @@ import (
|
|||
|
||||
"github.com/google/uuid"
|
||||
"github.com/mdiluz/rove/pkg/rove"
|
||||
"github.com/mdiluz/rove/pkg/server"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
var serv rove.Server = "localhost:8080"
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
s := server.NewServer(server.OptionPort(8080))
|
||||
s := NewServer(OptionPort(8080))
|
||||
s.Initialise()
|
||||
go s.Run()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue