Giter Club home page Giter Club logo

Comments (7)

solnic avatar solnic commented on August 24, 2024

@shingara 👍

I actually wanted to do that but didn't find time 😄

from devtools.

shingara avatar shingara commented on August 24, 2024

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.

mbj avatar mbj commented on August 24, 2024

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.

dkubb avatar dkubb commented on August 24, 2024

@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.

dkubb avatar dkubb commented on August 24, 2024

@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.

solnic avatar solnic commented on August 24, 2024

I'm gonna add setting up SimpleCov. We already have devtools/spec_helper so it's gonna be easy.

from devtools.

mbj avatar mbj commented on August 24, 2024

I'm closing this issue as its really old and the scope of this tool changed meanwhile.

from devtools.

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.