datahubio / datahub-v2-pm

Project management (issues only)
8 stars 2 forks source link

Write API Tests #56

Closed Mikanebu closed 6 years ago

Mikanebu commented 6 years ago

@Mikanebu commented on Mon Nov 06 2017

As a developer, I want to test all API endpoints, to be sure that all our serves works fine and returns a valid response. #

Acceptance criteria

Tasks

Analysis

Example dataset to test: https://datahub.io/examples/test-data-package-for-api-test

Specstore:

Status

Upload

Bitstore

Get authorized upload URL(s)

Get information regarding the datastore

DataHQ auth service

Check an authentication token's validity

Get permission for a service

Change the username

Receive authorization public key

Metastore

Search

Resolver

Resolves username to userid


@rufuspollock commented on Tue Nov 07 2017

@Mikanebu are these functional ("black box") tests or tests here in this library. Also the library has no API so i was wondering what APIs you meant ...?


@Mikanebu commented on Tue Nov 07 2017

@rufuspollock not for this library, all API from metastore, rawstore and so on. Probably it should go to pm repo


@rufuspollock commented on Tue Nov 07 2017

@Mikanebu yes this issue should not be here. Can you move it please (use the move issue button on the side).

Mikanebu commented 6 years ago

FIXED, tests are located in frontend-functional-tests repo https://github.com/datahq/frontend-functional-tests, it is also automated by Travis, and runs daily with frontend tests.