Closed mralaminahamed closed 1 month ago
The pull request includes significant updates to two documentation files: docs/tdd/factories.md
and docs/tdd/get-started.md
. The factories.md
document has been enhanced with detailed examples for the Order Factory
, specifically introducing a meta_data
parameter for order creation. The get-started.md
file has been expanded to include new tests for PUT and DELETE requests, along with improved structural organization and clarity in recommendations for writing tests.
File | Change Summary |
---|---|
docs/tdd/factories.md | Expanded Order Factory section with examples for creating orders with meta_data . Updated code snippets and improved readability. |
docs/tdd/get-started.md | Added tests for PUT and DELETE requests, refined document structure, clarified recommendations, and provided more examples for grouping test cases. |
OrderFactory
class by adding support for metadata in the order creation process, which directly relates to the main PR's changes in the Order Factory
section of the documentation regarding the new meta_data
parameter.delete_request
and put_request
methods from the DokanTestCase
class, which are relevant to the testing framework that may interact with the order creation process discussed in the main PR.QA approved
, Test Automation
, Upcoming Release
🐰 In the land of tests and code so bright,
New features bloom, a wonderful sight!
With metadata added, orders take flight,
Clarity reigns, and everything's right!
So hop along, let’s code with delight! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All Submissions:
Changes proposed in this Pull Request:
This PR updates the testing documentation for Dokan. Specifically, it:
These changes provide more comprehensive guidance for developers writing tests for Dokan, improving test coverage and consistency.
Related Pull Request(s)
Closes
How to test the changes in this Pull Request:
get-started.md
fileChangelog entry
Update testing documentation for Order Factory and API request methods
Updated the testing documentation to include information on adding meta data to orders using the Order Factory and documentation for PUT and DELETE request methods in API testing. This improves the guidance for developers writing tests for Dokan.
Before Changes
The documentation lacked information on adding meta data to orders and didn't cover PUT and DELETE request methods for API testing.
After Changes
The documentation now includes detailed information on how to add meta data to orders using the Order Factory and provides guidance on using PUT and DELETE request methods in API tests.
Feature Video (optional)
N/A
PR Self Review Checklist:
FOR PR REVIEWER ONLY:
Summary by CodeRabbit
Order Factory
section with detailed examples and a new subsection for adding metadata.get-started.md
with new tests for PUT and DELETE requests, improved structure, and clarified recommendations for writing effective test cases.