Coder Social home page Coder Social logo

Testsuite ✅ about tesseract.js HOT 8 CLOSED

naptha avatar naptha commented on June 22, 2024 3
Testsuite ✅

from tesseract.js.

Comments (8)

bijection avatar bijection commented on June 22, 2024 3

We like AVA as well! We're working on getting a few preliminary tests up.

from tesseract.js.

bijection avatar bijection commented on June 22, 2024 1

Thanks! We'd definitely like to have tests — I'll take a look at karma etc this evening.

from tesseract.js.

okcoker avatar okcoker commented on June 22, 2024 1

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.

zzarcon avatar zzarcon commented on June 22, 2024

@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.

skc93 avatar skc93 commented on June 22, 2024

AVA

from tesseract.js.

jeromewu avatar jeromewu commented on June 22, 2024

Right now we use mocha to do unit test, and more testing to work on. close this for now.

from tesseract.js.

okcoker avatar okcoker commented on June 22, 2024

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.

jeromewu avatar jeromewu commented on June 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.