Skip to content

Add COMMON folder for tests #5819

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

Merged
merged 1 commit into from
Jan 18, 2018
Merged

Add COMMON folder for tests #5819

merged 1 commit into from
Jan 18, 2018

Conversation

geky
Copy link
Contributor

@geky geky commented Jan 9, 2018

see #5524 for previous discussion

A COMMON folder allows code reuse across different test cases. This avoids code duplication or code entering the application space.

The COMMON folder is uppercase to match naming conventions in Mbed OS.

I'm open to feedback, also not very familiar with the layout of the tools in Mbed OS.

resolves #5524
resolves #5803
cc @bridadan, @theotherjimmy, @0xc0170

A COMMON folder allows code reuse across different test cases. This
avoids code duplication or code enterying the application space.

The COMMON folder is uppercase to match naming conventions in Mbed OS.
@0xc0170
Copy link
Contributor

0xc0170 commented Jan 10, 2018

A COMMON folder allows code reuse across different test cases. This avoids code duplication or code entering the application space.

+1, the pattern to match is TESTS/COMMON. What others think?

Copy link
Contributor

@theotherjimmy theotherjimmy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Python changes look fine. I'll leave deciding if we want this feature up in the air for now.

@c1728p9
Copy link
Contributor

c1728p9 commented Jan 12, 2018

looks good to me

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 16, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented Jan 16, 2018

Build : SUCCESS

Build number : 879
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/5819/

Triggering tests

/morph test
/morph uvisor-test
/morph export-build

@mbed-ci
Copy link

mbed-ci commented Jan 16, 2018

@mbed-ci
Copy link

mbed-ci commented Jan 16, 2018

@0xc0170 0xc0170 requested a review from studavekar January 17, 2018 12:12
@0xc0170
Copy link
Contributor

0xc0170 commented Jan 17, 2018

@studavekar Can you please review this from testing point of view?

Copy link
Contributor

@studavekar studavekar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work @geky 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New test's directory is not under .mbedignore tests: Unable to share code in tests
7 participants