-
Notifications
You must be signed in to change notification settings - Fork 5
Implements scanapi #56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- 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.
There was a problem hiding this 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?
@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. |
Implementado execução do ScanAPI via docker compose para ser possível utilizar env vars.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sucesso demais! 🪼🪼🪼
No description provided.