Re: Mynewt test facilities

2019-03-04 Thread Christopher Collins
Thanks, Will. Responses to inline comments inline :). On Sun, Mar 03, 2019 at 06:18:46PM -0800, will sanfilippo wrote: > > ### PROPOSALS > > > > 1. (testutil): Modify `TEST_CASE()` to call > > `sysinit()` if `MYNEWT_VAL(SELFTEST)` is enabled. > Would we want all TEST_CASE() to call sysinit if a

Re: Mynewt test facilities

2019-03-03 Thread will sanfilippo
Some comments inline. > On Feb 27, 2019, at 6:08 PM, Christopher Collins wrote: > > Hello all, > > In this email, I would like to discuss Mynewt's test facilities. > > ### INTRO (AKA TL;DR) > > Unit tests come in two flavors: 1) simulated, and 2) real hardware. > Writing a test capable of

Mynewt test facilities

2019-02-27 Thread Christopher Collins
Hello all, In this email, I would like to discuss Mynewt's test facilities. ### INTRO (AKA TL;DR) Unit tests come in two flavors: 1) simulated, and 2) real hardware. Writing a test capable of running in both environments is wasted effort. Let's revisit Mynewt's test facilities with a clear