Comments (11)
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.
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.
@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.
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.
@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.
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.
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.
@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.
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.
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.
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)
- aws-go-dep How To Get Params? HOT 1
- gps/constraint.go:149:4: undefined: semver.Constraint HOT 5
- ignore commented imports HOT 1
- NetBSD support HOT 1
- dep init failed - ubuntu machine HOT 1
- dep ensure ignore version for required project HOT 1
- primary readme has bad link for windows tarball named " HOT 2
- dep ensure failed with `lock and vendor: failed to export` HOT 2
- Dep ensure creates thousands of lock files running out of file handles HOT 2
- Installation failure using install.sh in MacOS HOT 1
- clear
- Unable to install iris using dep HOT 2
- dep init in WSL HOT 1
- error: failed to format output: consume [attachment]: unable to process attachment: can't read attachment of length 0
- Link to windows tarball is no longer valid HOT 4
- Issue in constraint.go HOT 7
- Sounds fantastic @julieqiu and it's really awesome how much the feedback is being taken into account on this. HOT 1
- Unable to connect to go.googlesource.com - connection refused, and network is unreachable HOT 1
- init failed: unable to determine direct dependencies: unable to deduce repository and source type for "go.dedis.ch/fixbuf": unable to read metadata: go-import metadata not found HOT 1
- Unable to connect to go.googlesource.com - connection refused and network is unreachable HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dep.