Giter VIP home page Giter VIP logo

Comments (6)

greglittlefield-wf avatar greglittlefield-wf commented on August 11, 2024 1

Any updates on this? Being able to run just coverage instead of tests+coverage would allow us to shave 9 minutes off our CI build. Which would be really nice 😃 .

Could we do something like grep the logs for that error message and set the exit code accordingly? A little hacky, but we should be fine as long as we have solid test coverage.

from dart_dev.

greglittlefield-wf avatar greglittlefield-wf commented on August 11, 2024 1

@maxwellpeterson-wf We are running each of our 5 test entry points separately, since combining them results in test loading timeouts (see dart-lang/test#390).

Running in the background is a good idea; we'll give that a whirl, thanks! Hopefully that'll give us a decent speedup.

from dart_dev.

maxwellpeterson-wf avatar maxwellpeterson-wf commented on August 11, 2024

@greglittlefield-wf are you using a test entry points (unit_tests.dart, integration_tests.dart) or is each file being loaded into coverage separately? That's a big area for improvement if not.

Besides that, you could look into running coverage in the background: https://github.com/Workiva/tasker-ui/blob/master/smithy.yaml#L17

from dart_dev.

evanweible-wf avatar evanweible-wf commented on August 11, 2024

@greglittlefield-wf even if this issue was fixed, I still wouldn't recommend relying on the coverage run alone. Historically it's been too brittle and I'm not as confident in it as I am the test package.

from dart_dev.

greglittlefield-wf avatar greglittlefield-wf commented on August 11, 2024

(okay)

from dart_dev.

greglittlefield-wf avatar greglittlefield-wf commented on August 11, 2024

As an update, trying to run coverage/tests at the same time or separately during other parts of the build result in slowdowns that lead to that same timeout issue :(.

from dart_dev.

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.