Git Product home page Git Product logo

overalls's People

Contributors

alaimo avatar ascandella avatar deankarn avatar ekle avatar erwanlbp avatar jspiro avatar novas0x2a avatar ojrac avatar teastburncx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

overalls's Issues

GPL dependency

I've just noticed that this project depends on "github.com/yookoala/realpath" which is licensed under GPL-like dependency. I'm not sure, but may be it's impossible to have this project licensed under MIT because of it. Anyway, thanks for a perfect library :)

Ignoring testdata and .folders

As far as I know, the go tools ignore two special folders: testdata and anything that begins .. Should we do the same here?

Allow running outside of go workspace

Our CI system checks out git repositories with no consideration for go workspace layouts.

go test still works inside the checkout directory, but it's impossible to use overalls to run it without shuffling things around

Support symbolic links

As part of my CI build process, the source is mounted at /source. I then create a symbolic link from /source to /go/src/github.com/F21/myproject.

Unfortunately, when symbolic links are used, overalls is not able to find the tests in the project. The current solution is to copy the contents of /source to /go/src/github.com/F21/myproject, but support for symbolic links would be super awesome!

Include -coverpkg=./... by default

I tried using this tool to get a coverage report similar to goveralls but the lack of the "--coverpkg"
arg caused it to give a much different result. You can see goveralls is using --coverpkg here:
https://github.com/mattn/goveralls/blob/master/goveralls.go#L124

I suggest that you make this the command because I would guess that most people seeking multi-package coverage have package that depend on each other and this is what they want. Otherwise the results are confusing because it says you have no coverage when you really do.
go test -covermode=count -coverprofile=profile.coverprofile -coverpkg=./...

Support passing arguments to go test

We run our tests in CI with -race -v, it'd be nice if we could keep the same output, while still using overalls to actually run the tests per package and merge the coverage output.

Being able to pass arguments like go list takes would also be nice.

I'm happy to try and add this myself, but that would require a bit of bikeshedding (of test output, of arguments) so I wanted to bring this up for discussion first

How to use with -args flag

Maybe I missed something in the README, but do you support the -args flag ?

For example if I use the library like :
overalls -project=github.com/erwanlbp/ionline -covermode=count -- -args -flag1 something

The -args should be at the end of the go test command, because every thing after args is sent to the program unparsed.

What I get is something like :
go test -args -flag1 something -covermode=count -coverprofile=profile.coverprofile -outputdir=/path/to/package ./path/to/package

And so it only test for the root package, which doesn't contain tests

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.