Code Monkey home page Code Monkey logo

Comments (5)

Canop avatar Canop commented on August 16, 2024 1

The default job in 1.0.1 includes the --tests argument.

from bacon.

Canop avatar Canop commented on August 16, 2024

We should maybe change the "check" job to

[jobs.check]
command = ["cargo", "check", "--tests", "--color", "always"]
need_stdout = false

or perhaps add a new "all" job.

from bacon.

Canop avatar Canop commented on August 16, 2024

I'm trying to determine whether there would be downsides (apart increased check latency) in changing the default job.

from bacon.

mbuesch avatar mbuesch commented on August 16, 2024

Thanks for the suggestion to change the jobs.check config. I'll try that.

Maybe jobs.check should default to check --tests, because that usually is a superset of check.
And then add a new optional all job which does check and subsequent check --tests.
And perhaps a minimal job which does check only (equivalent to the current jobs.check).

My current use case is that with the current jobs.check I sometimes fail to update all tests correctly. And that is only visible on an actual test run, which happens much later. Which defeats part of bacons purpose to see errors while typing.

I tried bacon test, but that's not really a solution, because it takes way too long to execute all tests.

from bacon.

mbuesch avatar mbuesch commented on August 16, 2024

Great, thanks!
It works fine.

from bacon.

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.