cubxxw / awesome-cs-cloudnative-blockchain

📚 菜鸟成长手册🚀 CS系列 、云原生系列、区块链系列、web3系列🔥、Golang系列💡......
http://go.nsddd.top
Boost Software License 1.0
1.16k stars 134 forks source link

Sweep: Print out a new teaching article about testing #28

Closed cubxxw closed 1 year ago

cubxxw commented 1 year ago

Print out a new teaching article about testing learn

Checklist - [X] `awesome-golang/go-advancend/Gomd_super/markdown/testing.md` > * Start the file with a title header, for example "# Software Testing" > • Write an introduction to software testing. Explain what software testing is and why it is important. > • Discuss different types of software testing, such as unit testing, integration testing, and system testing. > • Explain how to write test cases and how to use testing frameworks. > • Include examples of test cases and explain how they work. > • Discuss best practices for software testing. > • Conclude the article with a summary of the key points discussed.
sweep-ai[bot] commented 1 year ago

Here's the PR! https://github.com/cubxxw/awesome-cs-cloudnative-blockchain/pull/30.

⚡ Sweep Free Trial: I used GPT-3.5 to create this ticket. You have 3 GPT-4 tickets left for the month and 0 for the day. For more GPT-4 tickets, visit our payment portal.To get Sweep to recreate this ticket, leave a comment prefixed with "sweep:" or edit the issue.


Step 1: 🔍 Code Search

I found the following snippets in your repository. I will now analyze these snippets and come up with a plan.

Some code snippets I looked at (click to expand). If some file is missing from here, you can mention the path in the ticket description. https://github.com/cubxxw/awesome-cs-cloudnative-blockchain/blob/6f32f7c9493d45424cd52d51f7da921a35c54c18/awesome-golang/go-advancend/Gomd_super/markdown/97.md#L43-L128 https://github.com/cubxxw/awesome-cs-cloudnative-blockchain/blob/6f32f7c9493d45424cd52d51f7da921a35c54c18/awesome-golang/Gomd_super/markdown/97.md#L43-L128

Step 2: 🧐 Snippet Analysis

From looking through the relevant snippets, I decided to make the following modifications:

File Path Proposed Changes
awesome-golang/go-advancend/Gomd_super/markdown/testing.md Create awesome-golang/go-advancend/Gomd_super/markdown/testing.md with contents:
* Start the file with a title header, for example "# Software Testing"
• Write an introduction to software testing. Explain what software testing is and why it is important.
• Discuss different types of software testing, such as unit testing, integration testing, and system testing.
• Explain how to write test cases and how to use testing frameworks.
• Include examples of test cases and explain how they work.
• Discuss best practices for software testing.
• Conclude the article with a summary of the key points discussed.

Step 3: 📝 Planning

I have created a plan for writing the pull request. I am now working my plan and coding the required changes to address this issue. Here is the planned pull request:

Add new teaching article about software testing sweep/add-testing-article

Description

This PR adds a new teaching article about software testing to the repository. The article provides an introduction to software testing, discusses different types of testing, explains how to write test cases, and covers best practices for software testing.

Summary of Changes

  • Created a new markdown file testing.md in the awesome-golang/go-advancend/Gomd_super/markdown/ directory.
  • Added content to the testing.md file, including an introduction to software testing, discussion of different types of testing, explanation of how to write test cases, and best practices for software testing.
  • Included examples of test cases and explained how they work.
  • Concluded the article with a summary of the key points discussed.

Please review and merge this PR to add the new teaching article about software testing to the repository.


Step 4: ⌨️ Coding

File Instructions Progress
awesome-golang/go-advancend/Gomd_super/markdown/testing.md Create awesome-golang/go-advancend/Gomd_super/markdown/testing.md with contents:
* Start the file with a title header, for example "# Software Testing"
• Write an introduction to software testing. Explain what software testing is and why it is important.
• Discuss different types of software testing, such as unit testing, integration testing, and system testing.
• Explain how to write test cases and how to use testing frameworks.
• Include examples of test cases and explain how they work.
• Discuss best practices for software testing.
• Conclude the article with a summary of the key points discussed.
✅ Commit 0a56d8a I have finished coding the issue. I am now reviewing it for completeness.

Step 5: 🔁 Code Review

Here are my self-reviews of my changes at sweep/add-testing-article.

Here is the 1st review

No changes required. The added file "testing.md" is well-written and provides a clear explanation of software testing and a Go test case example. Good job!

I finished incorporating these changes.


To recreate the pull request, or edit the issue title or description. Join Our Discord