Comments (5)
I am open to this... What would the advantage be? Right now the tests are very much a "roll-your-own" solution. However the testing requirements for this lib are fairly simple and there is something to be said for minimising the dependencies.
So, back to the question, if there are clear advantages for this project then let's go for it.
from i18njs.
Mocha it's very simple and popular test framework. It gives a lot of tools that you can use. It has huge community and plugins. E.g. this is one of my projects (that I'm doing in free time in my job) https://github.com/bitbar/finka-js and as you can see I'm sending data from Mocha to Coveralls (https://coveralls.io/github/bitbar/finka-js?branch=master) and thanks to that I and everyone else can see how well my repo is covered with tests. This is great, because thanks to that tool I was able to detect test cases that I didn't thought about.
from i18njs.
And moving your tests to Mocha + Chai will be easy.
from i18njs.
#14
What do you think? :)
from i18njs.
Great work, thanks for the contribution.
from i18njs.
Related Issues (20)
- AMD compliant version of i18n.js does not work on IE8 HOT 4
- i18njs as NPM package HOT 3
- License unclear HOT 1
- [Idea] Support for num eq null HOT 2
- [Idea] Publish as npm package HOT 1
- [Idea] Release in GitHub
- Pluralization rules HOT 5
- Typescript definitions file HOT 20
- [Idea] Linter HOT 1
- [Idea] CI with Travis HOT 2
- [Idea] Tool to work with i18n files HOT 7
- The file on i18njs.com is not latest version
- Contexts not working? HOT 3
- What about object notation? HOT 1
- [Idea][Standardization] JSON Schema HOT 1
- Lots of eslint errors (+140) HOT 1
- Package in NPM is outdated (missing TS typings) HOT 3
- No maintaince
- Method extend does not exist on return value of i18n.create
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 i18njs.