Softwr

Testing · head to head

Mocha vs Tower

Mocha logo

Mocha

Testing

JavaScript test framework for Node.js and the browser, an OpenJS Foundation project

From
Free
Free plan
Yes
Tower logo

Tower

Testing

Paid Git client for Mac and Windows with Basic, Pro and Enterprise plans from $69 a year

From
$69/year
Free plan
No

The short version

  • Mocha is free; Tower starts at $69/yr.
  • Only Mocha lists node.js and browser support; only Tower lists pull requests and services manager.
  • Where Mocha falls short: no built-in mocking or spy tools; these come from add-on libraries.
  • Where Tower falls short: it is a per-user annual subscription, while rivals such as GitHub Desktop are free.

How do Mocha and Tower differ?

Mocha and Tower differ on starting price (Free against $69/year), pricing model (Open-source against Per user per year) and free tier (Yes against No). Only the attributes on which Mocha and Tower actually diverge.

Attributes where Mocha and Tower differ
AttributeMochaTower
Starting priceFree$69/year
Pricing modelOpen-sourcePer user per year
Free tierYesNo
PlatformsWebmacOS, Windows

Not yet recorded: category for Tower.

Which features does each one have?

They share no listed features; 7 appear only for Mocha and 8 only for Tower. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Mocha

  • Node.js and browser support
  • BDD, TDD, QUnit and other interfaces
  • Asynchronous test support
  • Parallel mode
  • Multiple reporters
  • Hooks and global fixtures
  • Retryable tests

Only in Tower

  • Pull requests and services manager
  • Self-hosted services
  • Stacked branches
  • Team management
  • SAML SSO
  • 30-day trial
  • 30-day money-back guarantee
  • Mac and Windows

What is each one used for?

Mocha is most often brought in for unit testing Node.js code; Tower for visual Git work on a team that prefers a GUI. The jobs each tool is most often brought in to do.

Mocha

  • Unit testing Node.js codenot Tower
  • Browser-based testsnot Tower
  • Asynchronous API testsnot Tower
  • Choosing a reporter for CInot Tower

Tower

  • Visual Git work on a team that prefers a GUInot Mocha
  • Working with GitHub Enterprise or self-hosted GitLab through the Pro tiernot Mocha
  • Managing stacked branches without hand-written commandsnot Mocha
  • Rolling out a Git client with SSO to a large teamnot Mocha

Where do Mocha and Tower fall short?

Mocha's most cited limit: no built-in mocking or spy tools; these come from add-on libraries. Tower's: it is a per-user annual subscription, while rivals such as GitHub Desktop are free. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Mocha

  • No built-in mocking or spy tools; these come from add-on libraries
  • Assertion and coverage libraries are added separately
  • Tests run serially by default; parallel mode is opt-in
  • Browser testing needs your own pages and setup

Tower

  • It is a per-user annual subscription, while rivals such as GitHub Desktop are free
  • Self-hosted service support is locked behind Pro, so Basic users on GitHub Enterprise cannot use pull requests
  • There is no Linux version, so Linux developers must pick another client
  • Some Pro features such as local code review and branch sync are marked coming soon
  • Enterprise single sign-on is the most expensive tier at $149 per user per year

How much do Mocha and Tower cost?

Mocha is free to use; Tower starts at $69/yr. Plan by plan below, from each vendor's own pricing page.

Mocha

Free

No published plan breakdown. See the Mocha review.

Tower

$69/year
  • Basic$69/user/yr
    • 1 user, multiple machines
    • Pull requests for cloud hosts
    • Unlimited app updates
  • Pro$129/user/yr
    • Everything in Basic
    • Self-hosted service support
    • Stacked branches
  • Enterprise$149/user/yr
    • Everything in Pro
    • SAML SSO
    • Priority support

Which should you pick?

Choose Mocha if

  • You need node.js and browser support.
  • You want to start without paying.
  • You also want bdd, tdd, qunit and other interfaces.

Choose Tower if

  • You need pull requests and services manager.
  • You work on macOS, Windows.
  • You also want self-hosted services.

Questions people ask

Is Mocha or Tower better?
It depends on the job. Mocha fits unit testing Node.js code; Tower fits visual Git work on a team that prefers a GUI. Mocha starts at Free and Tower at $69/year.
Which is cheaper, Mocha or Tower?
Mocha has a free tier; the other does not. Paid plans start at Free for Mocha and $69/year for Tower.
Does Mocha or Tower run on more platforms?
Mocha runs on Web. Tower runs on macOS, Windows.
Can I use Mocha for free?
Yes. Mocha has a free tier, so you can try it without paying. Tower starts at $69/year.
What is Mocha best used for?
Mocha is most often used for unit testing node.js code, browser-based tests, asynchronous api tests, choosing a reporter for ci. Of those, unit testing node.js code and browser-based tests are not what Tower is typically brought in for.
What can Mocha do that Tower cannot?
Mocha covers Node.js and browser support, BDD, TDD, QUnit and other interfaces, Asynchronous test support, Parallel mode. Tower covers Pull requests and services manager, Self-hosted services, Stacked branches, Team management.

Answered from the vendors’ own pages

Mocha: Is Mocha free?

Yes. The site lists no pricing and says the project is funded through Open Collective sponsors and backers.

Source
Tower: How much does Tower cost?

Basic is $69, Pro is $129 and Enterprise is $149 per user per year at list price.

Mocha: Where does Mocha run?

It runs on Node.js and in the browser. The site links to a running browser example.

Source
Tower: Is there a free trial?

A 30-day trial starts on the Pro edition.

Mocha: What licence does Mocha use?

Wikipedia lists the MIT Licence. The Mocha site does not state the software licence itself.

Source
Tower: Does it run on Linux?

No, plans cover macOS and Windows.

Tower: Can one licence be used on several machines?

Yes, Basic is for one user and may be installed on multiple machines of that user.

Share

Related pages

Other head to heads