Coder Social home page Coder Social logo

Comments (2)

bhenderson avatar bhenderson commented on June 29, 2024

hi @chrisnicola, interesting issue.

Minitest auto loads all it's plugins by looking for minitest/*_plugin.rb. I tried looking around in minitest's source, but I couldn't find a good solution. This hack might work

# require "minitest/ci_plugin"
Gem.find_files("minitest/ci_plugin.rb").each{|f| require f} # yuck!
def Minitest.plugin_ci_init(*a) end

Pretty interesting, plugins get loaded at run time, and it uses the full path, making it difficult to override.

But I don't maintain this anymore, checkout https://github.com/circleci/minitest-ci see if they have anything.

Out of curiosity, why do you want to disable it sometimes? is it slow?

from minitest-ci.

chrisnicola avatar chrisnicola commented on June 29, 2024

I don't know if it is slow, but I only need it on the CI server so it seemed a bit silly to generate a bunch of XML output I wasn't using.

I keep having more and more issues doing basic things with MiniTest lately.

from minitest-ci.

Related Issues (9)

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.