-
Notifications
You must be signed in to change notification settings - Fork 13.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
Host side tests (Phase 2) #1715
Comments
Progress has been done, but more work remains. Pushing back for next steps. |
@earlephilhower @d-a-v is there anything further to add here before moving on? If not, I'll push back. |
There'll always be something pending in this feature request. Currenly as @earlephilhower stated a short while ago, we have
Device tests use emulation on host, but host tests uses a different API for a subset of function. |
This issue is tracking implementation of a set of mocks which enable testing parts of the core on the PC, and writing relevant tests.
Easy testing targets include core classes (String, Stream, Print), heap management functions, and filesystem APIs.
Testing WiFiClient, WiFiClientSecure, WiFiServer, ESP8266WebServer, ESP8266httpClient is also possible, but requires a bit more work to build Linux port of LwIP and link against it.
To do list:
Phase 1(#1716)Phase 2
operator new
andoperator delete
in parts of code under test and in test runner.Phase 3
Phase 4
(update: can be done by adding more device tests now also runnable on host)
Phase 5
AxTLSBearSSL Linux build(done with emulation-on-host)
(device test
test_sw_http_client
is working on host with https w/ BearSSL using WiFiClientSecure)Phase 6 (edit: done via running device tests on host)
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: