Skip to content

Conversation

Gildofj
Copy link
Collaborator

@Gildofj Gildofj commented Oct 8, 2025

No description provided.

- Implement healthcheck endpoint to verify server status
- Create community and login endpoints for authentication
- Add authenticated and unauthenticated news retrieval endpoints
- Include tests for successful and failed news creation with and without authentication
- Updated scanapi.yaml to include modular test files for authenticated and unauthenticated library and news endpoints.
- Created libraries_authenticated.yaml and libraries_unauthenticated.yaml for library-related API tests.
- Created news_authenticated.yaml and news_unauthenticated.yaml for news-related API tests.
- Added specific test cases for response status codes and body content in separate YAML files for better maintainability.
- Introduced new test assertions for healthcheck and authentication responses.
- Updated the path for healthcheck status assertion in scanapi.yaml.
- Removed obsolete test files: body_detail_not_authenticated.yaml and body_healthcheck_status_healthy.yaml.
- Created new test files for body_detail_not_authenticated and body_status_healthy under their respective directories.
- Added new test files for library status assertions: body_status_created, body_status_requested, and body_status_subscribed.
@Gildofj Gildofj requested a review from dan5e3s6ares October 8, 2025 03:34
Copy link
Collaborator

@camilamaia camilamaia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahhh, fiquei feliz demais com esse PR!! Deixei uns comentários.

Pergunta, vocês pretendem colocar no CI com GitHub Actions? Ou só rodar manualmente mesmo?

@Gildofj
Copy link
Collaborator Author

Gildofj commented Oct 8, 2025

@camilamaia Obrigado por deixar os comentários, assim que chegar em casa já ajusto! Sobre o CI/CD, por enquanto optamos por deixar sem, então vamos executar o scan manualmente nesse primeiro momento.

@Gildofj
Copy link
Collaborator Author

Gildofj commented Oct 9, 2025

Implementado execução do ScanAPI via docker compose para ser possível utilizar env vars.

  • Env vars definidas
    • BASE_URL
    • USERNAME_TEST
    • PASSWORD_TEST

Copy link
Collaborator

@camilamaia camilamaia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sucesso demais! 🪼🪼🪼

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.

2 participants