-
Notifications
You must be signed in to change notification settings - Fork 28
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
Setting up Karate Test for GraphQl #42
Conversation
For the video you can use loom -> https://www.loom.com/looms/videos |
@olisaagbafor Hey man, PR looks good, just would like to see a video please 🚀 |
- Add Cucumber reporting dependencies - Configure Maven Surefire plugin for report generation - Add TestRunner class with report generation logic - Update Docker configuration for report persistence - Add .gitignore for report directories
@diegoTech14 The video link is here |
Will check ASAP, thanks! |
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.
@olisaagbafor this is looking great, some mino comments;
Also, can we add some instructions on the README on how to run the tests?
Best
@olisaagbafor Hey man, any updates? |
Yeah, am on it, Just had some buds to clear up... |
Hello @olisaagbafor , |
Hello @olisaagbafor! As per our conversation in telegram. Do you have any updates regarding the errors for the tests? |
@zleypner Yeah I do will update soon |
- Add Docker Compose setup for test environment - Configure Karate test framework - Set up test result reporting to tests/results - Add README with test execution instructions This commit sets up the initial testing infrastructure using Karate framework and Docker Compose, enabling automated API testing against a containerized Hasura GraphQL engine.
@zleypner the errors should be gone now, and I have updated the README for the instruction on how to run the test |
Please let me know if there is anything else... |
Hello @olisaagbafor Thank you for the updates! Checking |
We are almost there @olisaagbafor , thank you! Would yo be so kind to please update the Loom video? |
Ok will do that shortly @zleypner |
Thanks @olisaagbafor for this outstanding work! The implementation of the Karate testing framework is extremely well-structured and thorough. I particularly appreciate: Your responsiveness to feedback and willingness to iterate on improvements Your attention to detail and commitment to quality really shows through in this PR. This testing infrastructure will be invaluable for maintaining code quality as we scale. Great job on delivering such a robust solution! 🎯 👏 I will proceed to merge asap |
@zleypner thanks alot for your complements ❤️, I truly appreciate 🙏 |
@olisaagbafor There is one detail pending mentioned in the Contributors guideline. Please update the atomic commits based on the git guidelines. |
This PR is being superseded by #56 to align with project commit guidelines.
Pull Request for SafeTrust - Add Automated API Testing Framework
❗ Pull Request Information
This PR implements comprehensive automated testing for the SafeTrust GraphQL API using the Karate framework. It establishes a robust testing infrastructure focusing on user authentication, permissions, and wallet functionality.
🌀 Summary of Changes
Test Infrastructure Setup:
Test Suite Implementation:
Project Structure:
🛠 Testing
Evidence Before Solution
Evidence After Solution
📂 Related Issue
This pull request will close #29 - Implement automated API testing infrastructure
🎉 Thank you for reviewing this PR!