Giter Club home page Giter Club logo

Comments (11)

jessfraz avatar jessfraz commented on May 20, 2024 4

adding the good first pr label, because test could be added for any function, big or small, we also have a framework for integration testing where you could easily copy paste another test and change some things to test something else

from dep.

tro3 avatar tro3 commented on May 20, 2024

Looks like Context.LoadProject is uncovered. Any particular reason? If not, I can work on a unit test for that one after I figure out how you've all set up / torn down test files for os calls in other tests. Sound okay?

from dep.

sdboyer avatar sdboyer commented on May 20, 2024

@tro3 no reason for it :) that's be a great help - you'd effectively be codifying some very important rules about how we decide what the boundaries of projects. Thanks!

from dep.

tro3 avatar tro3 commented on May 20, 2024

No problem. Do you have a doc as to what the intended behavior is, or would you prefer I use the existing code as the "spec" and write tests to cover it and guard against future breakage?

from dep.

sdboyer avatar sdboyer commented on May 20, 2024

@tro3 nope, no actual spec for it, so best to take code as spec and work from there.

ideally...if you have time 😄 ...you could also write up some docs explaining how it works, so that we can sorta retro-spec it. would ease discussions about it in the future, and/or contribute to the docs that we are sorely lacking

from dep.

tro3 avatar tro3 commented on May 20, 2024

Will do. One question - I assume the lock file is supposed to always be in the same directory as the manifest? If so, there is a bug when locating the root while ascending.

from dep.

mem avatar mem commented on May 20, 2024

I was just working on some initial tests for LoadProject. I can create a PR for that if that's ok, and expand cases from there.

from dep.

sdboyer avatar sdboyer commented on May 20, 2024

@mem ah, thanks, that'd be great! though it looks like @tro3 is already working on some for LoadProject. Maybe have a look at their PR, see if you can suggest some of those additional cases? Or if not, I'm sure we can find something else :)

from dep.

mem avatar mem commented on May 20, 2024

Sure, no problem. It was more of an accident. I looked at the open issues, spotted this one and started working on that function just to get a feeling of the code structure, etc. I'll look at the coverage for other functions and post here before writing anything else :-)

from dep.

tro3 avatar tro3 commented on May 20, 2024

No worries, @mem - I just looked at #199 and they could be pulled and not step on each other. I'll leave it up to @sdboyer. My PR tonight or tomorrow will also include the ascending bug fix, which I moved to #198, and a (slightly) improved docstring.

from dep.

sdboyer avatar sdboyer commented on May 20, 2024

I think we're doing much better with this now, especially with the harness. I'm gonna close this out in favor of more specific issues 😄

from dep.

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.