Closed ianfixes closed 5 years ago
We have. See http://docs.platformio.org/en/latest/plus/unit-testing.html
New in version 3.0: (PlatformIO Plus)
Please click on "PlatformIO Plus"
Note that this bug report doesn't say "you didn't document it"; it says "you omitted it" from the example and the unit testing page itself. As a new user, it was not clear to me until I ran the unit test command that a login was required.
Based on your instruction to "Please click on "PlatformIO Plus"", you are assuming that (as a new user) I would know the following in advance:
Unit testing is available in the paid plans of PlatformIO Plus, as of version 3.0. Account setup is a prerequisite for unit testing.
New in version 3.0: (PlatformIO Plus)
<the command to log in to PlatformIO, and/or check whether you're logged in>
I second this. I've spent about an hour getting everything set up only to realize it's paid. Not unreasonable, but would have been nice to know before I put the time in...
Great! Actually In understood my problem thanks to this issue ;) Ok, so off from Platformio: paying to be able to do unit tests (especially the native ones) is a no go to.
Sorry, we are working on resolving this issue. Mostly, people pay for PIO Plus just to help us maintain everything that we do for PlatformIO.
Please note that PlatformIO is a fully neutral organization. We don't belong to any silicon vendor.
If you need PIO Unit Testing, please mail to contact@pioplus.com and we will upgrade your account for free.
More than half a year has passed and there is still no change. I also spent a morning getting things set up just to stumble across this issue.
The "New in version 3.0: (PIO Plus)" disclaimer is not clear enough by any means. I had no idea PIO Plus even existed until now and I have been using PlatformIO for several years. Please just add something like "This feature requires a paid PIO plus subscription". The way it is now it feels like you are trying to hide that fact.
Sorry for the delay!
PlatformIO Plus Goes Open Source, Improving Embedded Development Community Worldwide.
Which commit (or range of commits) contains the added functionality? https://github.com/platformio/platformio-core/commit/04dc6230e7f4a8799e90ca7f8e0e9bcc58019eb3 looks like a docs change. Also, does this functionality require a network connection to platform.io's servers?
It does not require Internet connection. See
After seeing Travis CI docs that recommend PlatformIO for CI testing I put some effort into adapting the wiring-blink PlatformIO unit test example into my own sample project.
After a few hours of work (reading docs), and feeling pretty good about the progress, I ran
platformio test -e uno
and got this message:It's not unreasonable that you operate a service and charge money for it. However, it's inconsiderate that your documentation makes absolutely no mention of the fact that PlatformIO is a paid service, not a free program.