Comments (6)
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.
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.
PRs for -s
and a flag to turn on/off humane-test-output would be very welcome, these are great features.
from boot-test.
I'll prepare these PR's in my first free time! ;)
from boot-test.
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.
Can we make it simpler to type in?
from boot-test.
Related Issues (20)
- Test defined in cljx files are not recognized HOT 2
- Does not find any tests HOT 4
- Separate test source path HOT 13
- Exception when test does not pass HOT 3
- Add support for clojure.test reporters
- Change filter option
- Not sure how to use filter option HOT 8
- using boot-test within a TDD workflow HOT 1
- Namespaces being tested multiple times
- Support option to opt out of terminating on any failures
- Support regexes for `:include` and `:exclude` terms HOT 7
- performance issue HOT 2
- option :junit-output-to must be of type str HOT 1
- Frequent java.lang.OutOfMemoryError: Metaspace
- selectors for tests HOT 3
- junit output-to support one single file HOT 2
- test-ns-hook HOT 1
- Support dependency scopes
- Option to stop on first failure
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 boot-test.