debian-forge-composer/internal/client
Brian C. Lane 856eb59edf client: Move the weldrcheck integration tests to client
With this change the integration tests can now also be run as unit tests
against the mocked server. The way it works is this:

internal/client/unit_test.go sets up the mock server and is built
when the `integration` build tag is *not* included.

internal/client/integration_test.go sets up the connection to an
existing server and is built when the `integration` build tag *is*
included.

The test code is built and run for both cases.

Currently they all pass for the integration test run. The unit test
cases need some work because the mocked server isn't a real server with
real depsolving and package lists. A future commit will fix this.
2020-03-27 19:07:33 +01:00
..
blueprints.go Move the API struct definitions into internal/weldr 2020-03-23 21:08:01 +01:00
blueprints_test.go client: Move the weldrcheck integration tests to client 2020-03-27 19:07:33 +01:00
client.go client: Add /projects/ support 2020-03-25 10:01:14 +01:00
client_test.go client: Move test setup into unit_test.go 2020-03-27 19:07:33 +01:00
integration_test.go client: Add integration test setup code 2020-03-27 19:07:33 +01:00
modules.go client: Add /modules/ support 2020-03-25 10:01:14 +01:00
modules_test.go client: Move the weldrcheck integration tests to client 2020-03-27 19:07:33 +01:00
projects.go client: Add /projects/ support 2020-03-25 10:01:14 +01:00
projects_test.go client: Move the weldrcheck integration tests to client 2020-03-27 19:07:33 +01:00
source.go client: Add projects/source API support 2020-03-23 21:08:01 +01:00
source_test.go client: Move the weldrcheck integration tests to client 2020-03-27 19:07:33 +01:00
unit_test.go client: Move test setup into unit_test.go 2020-03-27 19:07:33 +01:00
utils.go client: Move the weldrcheck integration tests to client 2020-03-27 19:07:33 +01:00
weldr.go Move the API struct definitions into internal/weldr 2020-03-23 21:08:01 +01:00