Comments (8)
What's the best way for us to go about this? Build index.js from other files, and test those files separately?
from karma-spec-reporter.
How do you feel about pulling in Mocha for testing? https://mochajs.org/
from karma-spec-reporter.
I'm a fan of Mocha. We might have to modularize parts of the code first to get them in isolation for testing. Thoughts?
from karma-spec-reporter.
It looks like most of the code is in functions. I think we would benefit from even more modular code though. I think we should also have a code coverage reporter for reference as well, so we know we can account for each piece of functionality.
from karma-spec-reporter.
I'll close this issue once we have CI to enforce that the tests will pass. This really doesn't fall in the category of "automated" testing since we are not using a task runner to run the tests while developing, but I'm not sure if it would be worth it since this module is so small. Any thoughts?
from karma-spec-reporter.
Yeah no need to go overboard 😛 just enough to be useful
from karma-spec-reporter.
thanks for the setup @tmcgee123
from karma-spec-reporter.
Anytime! I've been on a unit testing kick for the past year or so 😃
from karma-spec-reporter.
Related Issues (20)
- dependencies definition resolves to broken [email protected] HOT 1
- Unsure what the numbers printed mean
- Test reporter stops showing what tests are being run
- Show errorSummary independent of suppressFailed HOT 1
- failFast doesn't work if nothing to log
- Colors still appearing in output messaging when disabled HOT 1
- Would be nice to have a 'clear' option that clears the console before running the tests HOT 1
- Take browserConsoleLogOptions.level into consideration HOT 1
- I would like the seed to be printed out HOT 3
- Fail Fast option doesn't stop build HOT 2
- Show object diff when chai deepEqual fails - feature request HOT 4
- Is there a config setting to output the logged report to a file? HOT 1
- Suggested Config option: fail on skipped tests HOT 1
- [Feature request] Add an option to suppress the summary completely HOT 2
- Printing [32m✓ [39m in jenkins console HOT 2
- Need support for how many test case pending HOT 1
- The reportSlowerThan feature is broken (and easily fixed) HOT 2
- Cannot load "webpack", and "source-map" it is not registered! HOT 2
- How to log individual "it" tests rather than just "describe" HOT 1
- Printing test numbers for describe/it HOT 3
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-spec-reporter.