-
Notifications
You must be signed in to change notification settings - Fork 3k
Add integration tests #11276
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
Add integration tests #11276
Conversation
@jamesbeyond, thank you for your changes. |
TESTS/integration/README.md
Outdated
|
||
## Execute tests | ||
|
||
The integration test requires both the connectivity and and storage device to to configured. |
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.
minor - remove duplicate 'and' and 'to'
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.
still pending to remove duplicate 'and'
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.
Overall looks good - I've suggested a few minor changes in the readme doc.
@iriark01 do you want to have a quick look to the readme doc? |
@AnotherButler might have time. If this needs to go in the public docs, it will also need to move repos. |
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.
Commits could provide more details. The first one is adding 14 files - what these are? At least an introduction for each new test unit in this commit would be nice to have.
License for alice text is not acceptable, we shall find a replacement for the file used.
TESTS/integration/COMMON/alice.txt
Outdated
|
||
This eBook is for the use of anyone anywhere at no cost and with | ||
almost no restrictions whatsoever. You may copy it, give it away or | ||
re-use it under the terms of the Project Gutenberg License included |
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.
We had a discussion previously about this one as I recall. To my understanding, the license is not acceptable.
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.
This file got removed already, it just exist in the git history. do you want me clean up the history and force push a commit as well ? @0xc0170
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.
I see, I was probably reviewing only the first commit after I checked what it includes. please remove from history . Will review afterwards
797ebf0
to
e2a77a6
Compare
Hi @MarceloSalazar @MarceloSalazar @AnotherButler , |
Reviewed - pending to remove duplicate 'and'. |
We need to move the README file content to the Could someone please explain sample.txt? Why are we copying content from |
Hi @AnotherButler , thanks for reviewing, the BTW, why do we need to move the README to docs repo? the README only related to the tests inside this folder. it might not fit in to the contents of |
I was going to ask similar question. My assumption would be to have intergration tests documented in docs and referenced in Readme.md ? However looking at tests, usb have extensive readme for instance similar to these integration tests. |
I'd love the documentation to be available in os.mbed.com/docs, as it will raise awareness and instruct developers/partners on how to run the tests. At the moment, it's hidden/buried and it's not easy to find it. |
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.
Why the directory is "COMMON" rather than "common"? Upper case has special meaning in our build system and it may be confusing.
Yeah, I think that's the reason we keep it as |
Currently it feels fragmentation in the testing contents in mbeds documentation. |
We do have a section in our published documentation about testing: https://os.mbed.com/docs/mbed-os/v5.13/tools/testing.html It describes our different types of tests and how to build and write them. If we publish this content there in our published documentation, then it should live in that repository. Having two copies of the same content leads to content out of sync. |
HI @AnotherButler, I the one you pointed out is the test tooling, but not the actual tests itself. They are not in the |
The integration tests are critical and involve many components - IMO deserves its own section in the docs in the porting section. |
Hi @MarceloSalazar, do you suggest we move the docs from this repo to mbed-os-5-docs repo? or do we leave the docs here and duplicate the README in the docs repo ? |
We shouldn't have any duplication. |
I remove the README file, and moved it to docs repo. This PR should be ready for review and CI @MarceloSalazar @0xc0170 |
CI started |
Test run: FAILEDSummary: 1 of 4 test jobs failed Failed test jobs:
|
Restarted tests |
CI restarted |
Test run: SUCCESSSummary: 4 of 4 test jobs passed |
Description
During 2019 SiP workshop, we introduced a set of tests as integration testing on storage and network. We asked partner to run these tests on their platforms fix issues if any. Generally these tests received very positive feedback, and we decide to merge the test into mbed-os master
Pull request type
Reviewers
@MarceloSalazar @maclobdell