Skip to content
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

Test runner - test() async support #49

Closed
0xc0170 opened this issue Jan 7, 2016 · 4 comments
Closed

Test runner - test() async support #49

0xc0170 opened this issue Jan 7, 2016 · 4 comments

Comments

@0xc0170
Copy link

0xc0170 commented Jan 7, 2016

The code reference for what I understand is the test runner which expects the result to be returned from a test():

def execute(self):

Shall we consider async support for our test cases (for host tests)? This might be useful to write async host test, which would be terminated once {{end}} is received.

For instance, client has 2 test cases, which send data. Host test echoes them back. Once client is done and the tests passes, sends {{end}}, this would terminate host test() method, call teardown().

@ciarmcom
Copy link
Member

ciarmcom commented Jan 7, 2016

ARM Internal Ref: IOTSYST-739

@0xc0170
Copy link
Author

0xc0170 commented Jan 8, 2016

The code which we wrote was referenced here : ARMmbed/greentea#50 (it's not quite correct but illustrates a user case for having async host test).

@PrzemekWirkus
Copy link
Contributor

This will be covered by this breaking change: ARMmbed/greentea#78

@PrzemekWirkus
Copy link
Contributor

I will close this because we will continue in separate threads.

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

No branches or pull requests

3 participants