Comments (2)
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.
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)
- bad gemspec HOT 1
- License missing from gemspec HOT 1
- ci.rb - line #93 - conditional operator HOT 3
- Only run in CI environment HOT 1
- Report files are removed between test suites during "rake test" HOT 7
- don't use status to trigger finish HOT 1
- generate_suite: escape the suite name in filename HOT 2
- testsuite errors value is incorrect, passed test are counted as error tests HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minitest-ci.