Coder Social home page Coder Social logo

Comments (8)

soundanalogous avatar soundanalogous commented on May 15, 2024

Good find. The unit tests are already proving to be useful :)

from arduino.

mmurdoch avatar mmurdoch commented on May 15, 2024

I'm a bit stuck as to what to do with this. I'd like to provide a fix at the same time as the test (so that when the test is run it passes) but to do so I'd have to create a pull request to the unit tests branch (since we don't have tests on dev). Should I do this as two separate commits in a pull request to the unit tests branch and assume that the fix commit will be applied by someone else to dev? Alternatively I could create two pull requests, one with the test and fix commit to the unit test branch and another with just the fix to dev?

from arduino.

soundanalogous avatar soundanalogous commented on May 15, 2024

Yeah I see how that could be annoying. I'll merge unit-tests into dev.

from arduino.

soundanalogous avatar soundanalogous commented on May 15, 2024

I merged unit-tests into dev. If you have new work in your unit-tests branch, just merge in upstream dev and then submit a pull request to merge your branch of unit-tests into dev.

from arduino.

mmurdoch avatar mmurdoch commented on May 15, 2024

I'm going to add memory leak checking to ArduinoUnit so I don't have any new work in my unit-tests branch - I'll rewrite the above test before creating a pull request.

Just to clarify, are you saying from now on push all unit tests (and fixes) directly to dev and create pull requests from there?

from arduino.

soundanalogous avatar soundanalogous commented on May 15, 2024

Yeah since it's making it easier to detect and fix bugs. Will also be helpful in adding new features.

from arduino.

mmurdoch avatar mmurdoch commented on May 15, 2024

Great, thanks!

from arduino.

soundanalogous avatar soundanalogous commented on May 15, 2024

fixed in dev branch

from arduino.

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.