Page MenuHomePhabricator

Add integration test case for the /api-spec.json endpoint in edit-analytics
Open, Needs TriagePublic

Description

Background

Integration test case for the /api-spec.json endpoint is missing for edit-analytics

Goal

We should add the integration test case for the /api-spec.json endpoint for this service

AC
  • Integration test case for the /api-spec.json endpoint is added to edit-analytics

Event Timeline

Sfaci renamed this task from [QA improvement] Automated way to test that /api-spec.json endpoint is present and working in edit-analytics to Add integration test case for the /api-spec.json endpoint in edit-analytics.Jan 22 2024, 10:00 AM
Sfaci updated the task description. (Show Details)

Can i work on this issue and also please could someone provide more context?

Hi @Anujagrawal! Welcome!

You can start working on the issue, of course. It will be a pleasure to count on you and help you through the process.

But first of all I think you will need some context to pull the required repositories to get the service and the local test environment we have:

About the service itself and the local testing envrionment we have to run it locally:

So, I would say that your first step here would be to be able to run the service locally and make some requests. After that, you could start working on the issue.

About the issue itself, the work here is to add an integration test cases that we missed. AQS services are serving its own API definition using a specific endpoint and we provide a test case for that endpoint. In the case of edit-analytics that case is not created yet but it's already created for the rest of the services. So, to get an idea of how to do it, you could take a look at any other service and look for that case. For example, editor-analytics is another API that uses the same test env where this integration test case is already build here

Anyway, ping us here adding a comment in the case you need additional help.
Thanks!

Taychemu unsubscribed.