Giter Club home page Giter Club logo

Comments (6)

ferd avatar ferd commented on May 15, 2024

Wouldn't using a test profile for compiler options solve these issues?

from rebar3.

rlipscombe avatar rlipscombe commented on May 15, 2024

I don't know. What's a "test profile"?

In this particular case, I'm talking about rebar eunit. With code coverage enabled, the tests take ~210 seconds; with code coverage disabled, they take ~90 seconds. We use a lot of meck, though, which means recompilation while the test is running, which probably inflates the impact of coverage.

from rebar3.

ferd avatar ferd commented on May 15, 2024

Profiles are still changing, but here's there temporary specification: https://gist.github.com/tsloughter/1e16d70268182db1415a

from rebar3.

rlipscombe avatar rlipscombe commented on May 15, 2024

Thanks. Yes, that looks like it might fit. Note that I'm not necessarily talking about compiler options so much as the cover_enabled and cover_print_enabled flags, but same thing, I guess.

from rebar3.

tsloughter avatar tsloughter commented on May 15, 2024

@rlipscombe profiles work for any config option. It should be what you want http://www.rebar3.org/v1.0/docs/profiles

from rebar3.

tsloughter avatar tsloughter commented on May 15, 2024

Closing. This is covered by http://www.rebar3.org/v1.0/docs/profiles and http://www.rebar3.org/v3.0/docs/configuration#overrides

from rebar3.

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.