Software Alternatives, Accelerators & Startups

Meson VS Sinon.JS

Compare Meson VS Sinon.JS and see what are their differences

Meson logo Meson

Meson is an open source build system meant to be both extremely fast, and, even more importantly...

Sinon.JS logo Sinon.JS

Standalone test spies, stubs and mocks for JavaScript.
  • Meson Landing page
    Landing page //
    2019-03-04
  • Sinon.JS Landing page
    Landing page //
    2023-10-09

Meson videos

Meson RTA by Newgen Vape - Flavour Banger - Review & Rebuild

More videos:

  • Tutorial - MESON RTA by NEWGEN - Review & Build Tutorial!
  • Review - NewGen Vape Meson RTA Review - ...it's all down to the price...

Sinon.JS videos

Sinon.js Tutorial - How to Use Sinon.js, the Mocking Library for Testing

More videos:

  • Review - JS.everywhere(2012): Unit Testing Your JS w QUnit and Sinon.JS - Nicholas Silva
  • Review - Stubbing Javascript date objects using Sinon.js - Stream Highlight

Category Popularity

0-100% (relative to Meson and Sinon.JS)
Front End Package Manager
JavaScript Package Manager
Development Tools
0 0%
100% 100
JS Build Tools
100 100%
0% 0

User comments

Share your experience with using Meson and Sinon.JS. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, Meson should be more popular than Sinon.JS. It has been mentiond 43 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Meson mentions (43)

  • Rust Without Crates.io
    I went to mesonbuild.org and it doesn't match the description (some sort of betting site? I didn't stick around ...), and a search turned up: https://mesonbuild.com/. - Source: Hacker News / 7 months ago
  • Makefile Tutorial
    Came here to post the same. The answer for How to build software? is Meson[1] for C and C++ and also other languages. Works well on Windows and Mac, too. I’ve written a small Makefile to learn the basic and backgrounds. Make is fine. But the next high-level would have been Autotools, which is an intimidating and weird set of tools. Most new stuff written in C/C++ use now Meson and it feels sane. [1]... - Source: Hacker News / 9 months ago
  • CMake x make?
    If you are very fortunate, you'll be able to choose something else. I like meson myself: it looks a bit like python, it's popular, small, simple, well-documented, easy to install and update, and it works well everywhere. Source: 9 months ago
  • C++ Papercuts
    I suggest changing the build tool. Meson improved C and C++ a lot: https://mesonbuild.com/ The dependency declaration and auto-detection is nice. But the hidden extra is WrapDB, built-in package management (if wanted):
        https://mesonbuild.com/Wrap-dependency-system-manual.html.
    - Source: Hacker News / 9 months ago
  • A Modern C Development Environment
    > C's only REAL problem (in my opinion) which is the lack of dependency management. Most everything else can be done with a makefile and a half decent editor. Care to hear about our lord and saviour Meson? Both of your quoted problems are mutually incompatible: dependency management isn't the job of the compiler, it's a job for the build or host system. If you want to keep writing makefiles, be prepared to write... - Source: Hacker News / 10 months ago
View more

Sinon.JS mentions (21)

  • Writing an Obsidian Plugin Driven By Tests
    As Obsidian code is not available; we must provide some alternate implementation. If you're familiar with sinon, you might think we can create a stubbed instance like this:. - Source: dev.to / about 17 hours ago
  • Unit Testing in Node.js and TypeScript: A Comprehensive Guide with Jest Integration
    If you are using a mocking library, such as sinon, jest-mock, or ts-mockito, make sure that it is compatible with Jest. You may need to install additional packages or configure them in your configuration file. For example, to use sinon with Jest, you can install the sinon-jest package and add the following to your configuration file:. - Source: dev.to / 3 months ago
  • Express API Testing
    Mocha is a test runner, Chai is an assertion library, Sinon is a mocking library, this normally the combination you would need to use if you choose mocha, but there are others. Source: about 1 year ago
  • Alternative to AWS Mock
    Instead, use pure functions + dependency inject your stubs (e.g. Parameter to function). Also note, no need for Sinon or some other test double library. JavaScript is so good nowadays to easily make objects/classes/functions or any combination thereof on the fly that are terse. - Source: dev.to / over 1 year ago
  • Unit testing: What to use, and how?
    I've had some good experiences with Ava + Sinon. I've personally disliked Jest because it seemed to do some weird trickery in the background that prevented me from using ES modules. Source: over 1 year ago
View more

What are some alternatives?

When comparing Meson and Sinon.JS, you can also consider the following products

Ninja Build - Ninja is a small build system with a focus on speed.

Chai - Chai is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework.

GNU Make - GNU Make is a tool which controls the generation of executables and other non-source files of a program from the program's source files.

EyeJS - A JavaScript testing framework for the real world.

CMake - CMake is an open-source, cross-platform family of tools designed to build, test and package software.

QUnit - What is QUnit? QUnit is a powerful, easy-to-use JavaScript unit testing framework. It's used by the jQuery, jQuery UI and jQuery Mobile projects and is capable of testing any generic JavaScript code, including itself!