Coder Social home page Coder Social logo

Comments (7)

jantimon avatar jantimon commented on May 30, 2024

Oh you need platformio 3

Please add a note to the readme

pip install https://github.com/platformio/platformio/archive/feature/platformio-30.zip

from platformio-examples.

ivankravets avatar ivankravets commented on May 30, 2024

@jantimon where did you find this example? It is not located in the master or even in the develop branch. It is located in a feature.

PlatformIO 3.0 has not been released yet and is still in development. Please follow us on Twitter @PlatformIO_Org and we will inform about the first beta.

Thanks.

from platformio-examples.

jantimon avatar jantimon commented on May 30, 2024

Googled for "platformio" tests first result: http://docs.platformio.org/en/feature-platformio-30/userguide/cmd_test.html
Looks exactly like the normal platformio page.. didn't realise the small text in the bottom says 3.0

from platformio-examples.

jantimon avatar jantimon commented on May 30, 2024

Was really disappointed by platformio because it says it supports "Continuous Integration" however there is no way to get unit tests running with travis or on the local machine. so the main part of ci which would allow working on software in teams is not included.

from platformio-examples.

ivankravets avatar ivankravets commented on May 30, 2024

Was really disappointed by platformio because it says it supports "Continuous Integration" however there is no way to get unit tests running with travis or on the local machine

You mix 2 different things:

  1. Continuous Integration
  2. Hardware Unit Testing

The 1-st item is implemented in PlatformIO 2.0 and a lot of developers/companies use it. The docs: http://docs.platformio.org/en/latest/ci/travis.html

The 2-nd item means that tests will be run on TARGET device, not on Travis. It requires hardware device.

Nevertheless, we opened issue to allow run UNIT tests on the local machine: platformio/platformio-core#519 . It is not equal with platformio ci command and should run unit tests using Unit Test Framework dicrectly on the PC.

If you need any help with CI, I'm glad to help you.

from platformio-examples.

ivankravets avatar ivankravets commented on May 30, 2024

Unit Testing has been introduced in PlatformIO 3.0 http://docs.platformio.org/en/stable/plus/unit-testing.html

from platformio-examples.

jantimon avatar jantimon commented on May 30, 2024

Wow cool - this is exactly what I was looking for! :) 👍

from platformio-examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.