Comments (9)
Right now this is not implemented on karma-tap-pretty-reporter
but I think is more suitable to do on a prettifier package
from karma-tap-pretty-reporter.
It would be right, if we could use prettifiers in pipe. But we cant :(
from karma-tap-pretty-reporter.
If you create your custom prettifier I could add to karma-tap-pretty-reporter
.
How you say, we cannot pipe on browsers enviroments.
Maybe we can make this at code level, without using standalone tools, just using something like tape
Is ther another tool, don´t tested it myself, subtap
from karma-tap-pretty-reporter.
You can use https://github.com/namuol/tap-difflet
tapReporter: {
// outputFile: './unit.tap',
get prettify() { return () => require('tap-difflet')({ pessimistic: true }); },
separator: '****************************',
},
But you should update this packages to latest versions. And have node version with getters available. I use node 6.0
from karma-tap-pretty-reporter.
Why getters
is needed in this case?
from karma-tap-pretty-reporter.
You are right, this code can be rewriten more simpler without getters:
tapReporter: {
// outputFile: './unit.tap',
prettify: function() { return require('tap-difflet')({ pessimistic: true }); },
separator: '****************************',
},
Maybe this can be added to README
from karma-tap-pretty-reporter.
update README with Show only failed test
use case.
from karma-tap-pretty-reporter.
closed due inactivity.
Feel free to reopen is needed
from karma-tap-pretty-reporter.
Thanks
from karma-tap-pretty-reporter.
Related Issues (4)
- Extra output HOT 1
- Missing path to file from sourcemaps HOT 4
- Error: stream.push() after EOF HOT 6
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 karma-tap-pretty-reporter.