WasmEdge / docs

https://wasmedge.org/docs/
Apache License 2.0
17 stars 57 forks source link

feat: added contents for testing of wasmedge #197

Open adithyaakrishna opened 10 months ago

adithyaakrishna commented 10 months ago

Description:

This PR adds the written content for testing of WasmEdge software with the explanation of an example code for test/plugins/wasi_logging

PS. This is a draft that needs to be improved and coming from a person who got started with C++ testing

alabulei1 commented 10 months ago

Hello, I am a code review bot on flows.network. Here are my reviews of code commits in this PR.


Overall Summary:

The pull request titled "feat: added contents for testing of wasmedge" includes several key changes related to the documentation for testing in the WasmEdge project. After reviewing the individual summaries, it is apparent that there are no potential problems or errors identified in this pull request.

The most important findings include the following:

Overall, this pull request aims to improve the testing documentation in the WasmEdge project. It is recommended to carefully review and test the added contents, provide more detailed explanations and examples, and ensure the correctness of the code examples and functions mentioned in the documentation.

Details

Commit 298e985a4284c0c4e83c15f72f153140e65abd73

Key Changes:

Potential Problems:

Suggestions:

Commit 57185441c321037457908c246f5910d88b244fd1

Key changes in the patch:

  1. Added links and i18n content for testing WasmEdge.
  2. Created a new file docs/contribute/test/example.md with test example explanation.
  3. Updated _category_.json files in both English and Chinese language folders to reflect the new content.
  4. Deleted the file i18n/zh/docusaurus-plugin-content-docs/current/contribute/test.md, which was probably replaced with example.md.
  5. Added new files i18n/zh/docusaurus-plugin-content-docs/current/contribute/test/_category_.json, i18n/zh/docusaurus-plugin-content-docs/current/contribute/test/example.md, and i18n/zh/docusaurus-plugin-content-docs/current/contribute/test/testing.md.

Potential problems:

Commit f9203f0be57014e1da21772603c04f70a2e52649

Key Changes:

Potential Problems:

Overall, this pull request updates the documentation related to testing in the WasmEdge project. The changes provide clearer descriptions and instructions for writing tests and where to add them.

Commit e38054737035af4c7b5ac32a0ab6af661d17b7ad

Key changes:

Potential problems:

Overall, this patch is straightforward and solves the issue of broken links in the overview.md file. It can be merged without any concerns.

Commit 4e017860741f9f537bd7cdd8bd6cd844648eedab

Key Changes:

Potential Problems:

Overall, the changes made in this pull request update the documentation to reflect the correct terminology and make it more accurate for the purpose of writing tests for WebAssembly code and plugins. The changes seem appropriate and do not introduce any potential problems.

adithyaakrishna commented 10 months ago

CI is failing which is expected as I removed the old test.md file. I will fix the broken links once the contents are reviewed and finalized

alabulei1 commented 10 months ago

Can you also mention that we use codedev to auto test the test cases for the WasmEdge. https://app.codecov.io/gh/WasmEdge/WasmEdge

adithyaakrishna commented 10 months ago

@alabulei1 Okay sure, will mention that too

alabulei1 commented 10 months ago

@alabulei1 Okay sure, will mention that too

You didn't make any changes. Right? @adithyaakrishna Please check out my comments. We don't need other iirrelevant content in this guide.

adithyaakrishna commented 9 months ago

@alabulei1 I hadn't done pushed the changes I did, but have updated it with the above commit. Could you please review it again?