Comments (8)
We like AVA as well! We're working on getting a few preliminary tests up.
from tesseract.js.
Thanks! We'd definitely like to have tests — I'll take a look at karma etc this evening.
from tesseract.js.
Since there are no tests currently. I'd highly recommend AVA instead. It's easier to install and simpler to configure than Karma. I'd also like to say it's faster although I have no proof to back that up.
FWIW I also feel Karma requires you to install so many packages to get started. I've recently moved from Karma to AVA for all my projects and went from installing like 10 packages (karma, mocha, launchers, coverage, etc) to about 3 or so (AVA, nyc, tap-diff)
from tesseract.js.
@okcoker good point, I have never tried AVA but I agree with you in all the points you have listed. Based on that I think will be a better choice if we go with AVA instead of Karma.
And also I will learn how to use it 😸
from tesseract.js.
AVA
from tesseract.js.
Right now we use mocha to do unit test, and more testing to work on. close this for now.
from tesseract.js.
Woah this is old. It probably doesn't matter to you guys now but I use jest for testing everything now :P
from tesseract.js.
In fact I tried jest in fhe first but ran into some performance issue, that's why I switch fo mocha. I know jest is popular now, maybe we will do an update one day.
from tesseract.js.
Related Issues (20)
- Switch from CommonJS to ESM modules HOT 1
- setImage is re-run unnecessarily when rotateAuto is enabled
- `debug` output missing from types HOT 1
- Custom traindata do not work HOT 2
- possibility to capture stderr HOT 3
- JSDelivr CDN not accessible in China HOT 8
- Large images cause excessive memory usage
- Worker stuck on "loading language traineddata" HOT 4
- Updated types to infer output formats
- Inference of Chinese handwritten characters is bad HOT 3
- Add line size metrics (ascender, descender, size) to `line` objects in `blocks` output HOT 1
- Font attributes incorrect even when font is properly identified (`is_italic`, `is_serif`, etc.) HOT 1
- Focusing area HOT 1
- Multiple issues: Discussion
- Disable non-text output formats by default
- Tesseract - Running in Browser Console HOT 1
- Execution `worker.recognize` repeatedly causes "Out of Memory" error in JSFiddle HOT 5
- Error: Network error while fetching HOT 1
- how to use installed tessercat lib on windows for tesseract.js? HOT 1
- createWorker throws exception with option.langPath set in electron HOT 7
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 tesseract.js.