Skip to content

[WIP] Add Comprehensive Unit Tests for Coins List Endpoint#20

Draft
SoYan500 wants to merge 7 commits into
Merango:81af2262-181a-4f3a-ba8e-5d3e94999901from
SoYan500:unit-tests-coins-list-endpoint-1749238336
Draft

[WIP] Add Comprehensive Unit Tests for Coins List Endpoint#20
SoYan500 wants to merge 7 commits into
Merango:81af2262-181a-4f3a-ba8e-5d3e94999901from
SoYan500:unit-tests-coins-list-endpoint-1749238336

Conversation

@SoYan500
Copy link
Copy Markdown

@SoYan500 SoYan500 commented Jun 6, 2025

Add Comprehensive Unit Tests for Coins List Endpoint

Description

Task

Add unit tests for coins list endpoint

Acceptance Criteria

  • Unit tests cover all main scenarios for coins list endpoint
  • Tests validate data transformation and validation logic
  • All tests pass with 100% coverage
  • Error handling is thoroughly tested
  • Response structures match expected format

Summary of Work

This pull request implements a robust set of unit tests for the CoinGecko mock API's coins list endpoint. The tests will ensure the endpoint's functionality, data transformation, and error handling meet the specified requirements.

Changes Made

  • Create test suite for coins list endpoint
  • Implement test cases for successful data retrieval
  • Add tests for input validation and error scenarios
  • Verify data transformation logic
  • Ensure 100% coverage for coins list endpoint logic

Tests

  • Test successful retrieval of coins list
  • Verify pagination functionality
  • Check data transformation accuracy
  • Test error handling for invalid inputs
  • Validate response structure and types
  • Ensure consistent error responses

Signatures

Staking Key

Hi85KVXFxw53EPtx9aU3JKWcUn9tJerXEX8vkPivdGYZ: 2T8a5rnft7YeRb2AD9J6uMScG6S1RejbMqVVcdCYwmLhEZfkNatXTRJ3g3dDPLsbvVCmsaYFSGeX5k39cSvgMVnLchWxeqC9kqLFxtFVPj2cEnouLPSV4GWMHf716Cgt5gA72iHt6BrrfrZH9gdxAMnm2djFZ33rviumZE2PazWY8Qz9xeMgi2wVKBTVxPP7BMmTt7EadnqCtoxrK2Wz99By7ckFRZeHhA7NJCvEjNscGqp9smbSDgtm2gDbsA3bdCwLQ4RALqUDoGSA5r9JBUGe38SdCpsFyFv7dxPovM95Cc1xze2oj8QdC6EBLa4HT7dKqGZ1bxmFU2GfNcbQn9Uvfp6bZqFTkSu1KFqL1ejy4GkYoewAiw2tYtkdR7NC3PndR5iacZFivweXNQGrpPUXsyZxQknx

Public Key

3EHUVFpx8xQCU8AdKG7vneVy5eTeeM6p8tXohn7RFoav: 2fgKZUH9ywppkw4YMKNeeW9uu9axFdy4YAKAxjJjsFYvhmb5ohHPgF5xs27F53sT3dfff7AhGYd4VAfvgcT2PMSPSEh9Rgoq8o7BktwpAf2xiA7TCqYdyM6CNUjdXDz2wUdACvaTx6bSMfhErLE4WAHUWKwQwYBncc6Wd3mSxWBQyhmmR8Yrh1M9wKFCNHqVosnSvCK5RZY8VuJpLeVYbBqZ2kNmoUVu2Fi83K6mZ87BcgY4iyRjfKta7r2jm4AtgVijhyvAERyHDKqShe4BZWZAfGDDfycqtPKkugtghVXUpswXfPWXbJ2eQAZQXKkftRw3LmvYS1KTdteDga8D6RDjRdK3JzLFAiX5kyT6juRxTr5aNrqfKHAFFAP8X7gSgGDs4e4S3LNYeuZ6bxsDY32riiCuE8Gt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant