[Documentation] Tests for Stripe API
Files are here
Pre- work:
- highlight code snippets and ask Copilot Chat: "Explain this test to me", or use the
/explainslash command - Ask Copilot Chat questions about the test framework:
- "why do we use the jest framework?"
- "what are the advantages of jest over chai?"
Tasks for completion:
- [ ] enhance the inline comments: highlight functions and prompt Copilot: "refactor to be more readable with inline comments"
What section of the wiki page should I add the summary for all test codes? Above the 'Test environment variables' section or beneath it?
Hi, @CodingLady22 the second checkbox specifies this URL https://github.com/ProgramEquity/amplify/wiki/Stripe-API-Endpoint which is labeled 'Testing the Stripe Endpoint'
@manishapriya94 I was referring to where on this page I am to place my summary, as the page already has content and I wasn't sure if there is a particular flow the page should follow or not. Can you please advice?
Thanks for the clarity @CodingLady22! If you want to add them under test documentation - that seems like a good flow
I have added the summary for all test codes to the wiki page. Can the summary be checked to confirm if it aligns with the requirements, and do you think including a copy of the code itself is advisable?
Branch: issue-605