Skip to content

Decouple test configuration and enable running tests against a real backend #28

@synergiator

Description

@synergiator

Currently, in the test set the test configuration is (partly?) hardcoded using endpoint mocking approach with httptest:

func TestVirtualMachineService_DeployVirtualMachine(t *testing.T) {
	server := httptest.NewServer( ...

It would be great to have some decoupling here to provision endpoint configurations in a flexible way, also enabling automated testing against (multiple) real endpoints.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions