Comments (7)
I actually wanted to do that but didn't find time 😄
from devtools.
I try implement it. but I don't find a good way to do instead of adding a require needed in the spec_helper.rb.
Have you some idea how I can do to help ?
from devtools.
IMHO we need to ship a default spec helper, like the Rakefile. Could look like this.
require 'devtools'
Devtools.spec_helper
# our project specific customizations here
We could ship the shared stuff from spec/support
also in devtools.
EDIT: Markdown
from devtools.
@shingara We now have the default spec helper in place. Do you want to give a try at generalizing this again?
I would think you could mostly use the same config we use in most DM2 related gems: https://github.com/dkubb/axiom/blob/master/spec/spec_helper.rb#L8-L23
The only thing is you'd probably want to read a config file so people can configure the filters and minimum coverage threshold.
from devtools.
@shingara you may want to also check out #3 where there is some discussion on what a spec config file would look like. For the most part I wouldn't expect you to implement configurable unit/integration directories, we can add that later as a separate PR, but it's good for you to be aware of this if you decide to take it on.
from devtools.
I'm gonna add setting up SimpleCov. We already have devtools/spec_helper so it's gonna be easy.
from devtools.
I'm closing this issue as its really old and the scope of this tool changed meanwhile.
from devtools.
Related Issues (20)
- Ability to exclude namespaces from mutation HOT 5
- Update rubocop version to ~> 0.18.1 HOT 5
- Please take over this project and move it out from rom-rb organization HOT 10
- Bootstrapping after git clone? HOT 3
- Make reek, coveralls and simplecov(?) optional HOT 1
- Rubocop deprecation warnings HOT 1
- `bundle exec devtools init` breaks HOT 3
- Fix `metrics:rubocop` to report warnings as errors and fail the build.
- Upgrade to Reek 3 HOT 4
- Lift restriction on mutant to 2.2.2 or 2.2.3? HOT 1
- Upgrade to RuboCop 0.34
- Enable reek again when upstream issue is fixed.
- Add rubocop-rspec HOT 3
- Release 0.1.2? HOT 1
- Change README gem version
- Assert config file field types HOT 2
- Mutant config should allow specifying rationals HOT 1
- rake ci does not run integration specs anymore
- Bump rake dep to 10.5.0 HOT 1
- Ignore
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 devtools.