-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Icetea missing test doc #8342
Icetea missing test doc #8342
Conversation
This is documentation only change -> No CI needed |
@MelindaWeed Could you please edit the two README files? |
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.
Many of these are nitpicky.
TEST_APPS/testcases/README.md
Outdated
@@ -12,3 +12,4 @@ Current testcases: | |||
|
|||
- [netsocket](https://github.com/ARMmbed/mbed-os/blob/master/TEST_APPS/testcases/netsocket) | |||
- [example](https://github.com/ARMmbed/mbed-os/blob/master/TEST_APPS/testcases/example) | |||
- [nanostack_mac_tester](https://github.com/ARMmbed/mbed-os/blob/master/TEST_APPS/testcases/nanostack_mac_tester) |
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.
Either capitalize these or put them in ``.
@@ -0,0 +1,294 @@ | |||
Nanostack MAC RF tests |
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.
These should be ## headings, not separated out with =====.
Nanostack MAC RF tests | ||
============= | ||
|
||
This folder contains nanostack MAC RF tests for Icetea |
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.
Check punctuation in file, because there are missing periods.
The test located under this folder is dependent of the application [exampleapp](https://github.com/ARMmbed/mbed-os/blob/master/TEST_APPS/device/nanostack_mac_tester) | ||
The nanostack MAC tester is disabled by default, to be able to run the testcases with the application, either remove the preprocessor macro from main.cpp or add `-DICETEA_MAC_TESTER_ENABLED` to the mbed test command | ||
|
||
Icetea testcases are processed by passing commands through the mbed-client-cli command line. Thus testcase steps should be possible to replicate manually with the given commands and instructions. |
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.
mbed-client-cli
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.
Clean up the wording here.
|
||
**Description:** | ||
|
||
Write addresses to MAC interface, verify successful write. |
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.
What's MAC?
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.
Media Access Control(MAC) address is a unique hardware identifier used in networking. MAC interface refers to the Data Link layer interface in Nanostack.
I feel that anybody who doesn't have a clue what it refers to has no business running these tests in the first place.
The test cases under this folder are defined in [Network Socket test plan](https://github.com/ARMmbed/mbed-os/blob/master/TESTS/netsocket/README.md) | ||
The test cases under this folder are similar to [Network Socket test plan](https://github.com/ARMmbed/mbed-os/blob/master/TESTS/netsocket/README.md). | ||
|
||
Icetea testcases are processed by passing commands through the mbed-client-cli command line. Thus testcase steps should be possible to replicate manually with the given commands and instructions. |
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.
test cases
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.
mbed-client-cli
|
||
**Preconditions:** | ||
|
||
1. Network interface and stack are initialised |
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.
Again, end these with .
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.
Initialized
|
||
**Expected result:** | ||
|
||
The test exits with status PASS without timeouts |
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.
PASS
.
|
||
**Preconditions:** | ||
|
||
1. Network interface and stack are initialised |
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.
initialized
|
||
**Preconditions:** | ||
|
||
1. Network interface and stack are initialised |
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.
Initialized
I think I fixed all the points. Please re-review. |
@melwee01 Please review after the update |
Comments addressed. Please re-review.
@AnotherButler @melwee01 Re-review? Or are we good to bring this in asis? |
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.
Please fix minor requests.
@@ -0,0 +1,298 @@ | |||
##Nanostack MAC RF tests |
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.
Please add a space after the pound signs, or this won't render properly.
|
||
In test cases with more than one device under test(DUT) the target device is given in the instructions as DUT1, DUT2 or DUT3. | ||
|
||
##Test cases |
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.
Please add a space after the pound signs, or this won't render properly.
|
||
Icetea test cases are processed by passing commands through the `mbed-client-cli` command line. It is possible to manually replicate most test cases by following the instructions below. | ||
|
||
In test cases with more than one device under test(DUT) the target device is given in the instructions as DUT1, DUT2 or DUT3. |
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.
Parenthetical expressions require a space on either side of them. Please do a global search of this document to make sure there's a space before the opening parenthesis each time.
It looks as though @melwee01 's concerns have been addressed. |
@JuhPuur Please address @AnotherButler review comments |
Comments addressed. I didn't add spaces to parentheses indicating method/function names. |
@AnotherButler All good? |
@OPpuolitaival Please review why exporters are running for this .md changes |
Test run: SUCCESSSummary: 3 of 3 test jobs passed |
Description
Documented icetea testcases. Socket testcases do not differ from greentea testcases except in the way they're executed. Documentation was needed to present how the execution differs.
Added missing documentation for Nanostack MAC tester testcases and comments to testcases.
Pull request type