Coder Social home page Coder Social logo

Running a single test from namespace about boot-test HOT 6 OPEN

kul avatar kul commented on July 19, 2024
Running a single test from namespace

from boot-test.

Comments (6)

niwinz avatar niwinz commented on July 19, 2024 1

I have own version of test task completelly based on this package but without humane-test-output and with new additional parameter for filter by name.

So that line:

boot test -f "(= (:name (mata %)) 'foobar)"

Can be used in this maner:

boot test -s foobar

You can found the code here: https://github.com/funcool/bootutils/blob/master/src/funcool/bootutils.clj#L72

from boot-test.

niwinz avatar niwinz commented on July 19, 2024

It has the -f for filter, and takes an expression for filtering tests, but I'm not clearly understand how it can be used in a reasonable usable way.

from boot-test.

alandipert avatar alandipert commented on July 19, 2024

PRs for -s and a flag to turn on/off humane-test-output would be very welcome, these are great features.

from boot-test.

niwinz avatar niwinz commented on July 19, 2024

I'll prepare these PR's in my first free time! ;)

from boot-test.

kul avatar kul commented on July 19, 2024

Actually for running single tests one can do something like
boot test -n foo.bar -f '(re-find #"my-test" (str %))'

Which although powerful is kind of ugly. Something like boot test -t foo.bar/my-test would be more than enough for practical purposes imo.

from boot-test.

tiye avatar tiye commented on July 19, 2024

Can we make it simpler to type in?

from boot-test.

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.