JavaScript testing framework Jest lands at the OpenJS Foundation

Meta has given the testing framework Jest over to the OpenJS Foundation. The open source framework is one of the most popular tools for JavaScript testing. At the time of delivery, it had a good 38,000 stars on GitHub and, according to the OpenJS blog, it was downloaded over 17 million times a week.

The framework is given Impact Project status, the highest of four OpenJS Foundation levels reserved for large, mature projects. In addition to Jest, not listed at the time of writing, there are Appium, Dojo, Electron, jQuery, Node.js, and webpack on the list of Impact Projects.

Jest is primarily aimed at simple application and works with numerous JavaScript frameworks such as Angular, Vue and React, which also comes from the Facebook repertoire. It can be used in combination with classic JavaScript as well as with Node.js and TypeScript.

The framework offers a flexible API for different use cases. The name and logo allude to the jester, meaning the fool. The GitHub repository and Jest site show the symbol in the deck, making it the Joker, the classic playing card with the fool.

Jest plays the Fool card.

Jest covers different test scenarios. This includes mocking, in which it replaces objects outside the test scope with mock objects that provide predetermined results. Using snapshots, components in operation can be compared with a previously created variant. If desired, the framework determines by specifying the flag --coverage the code coverage.

heise developer and dpunkt.verlag judge on June 22nd and 23rd, 2022 enterJS in the Darmstadtium in Darmstadt out of. The JavaScript conference offers numerous lectures and workshops on JavaScript in general, the frameworks (Angular, Node.js, React and Svelte) in particular as well as TypeScript, tools and techniques related to the programming language.

The program includes the following lectures on the subject of testing:

More information about enterJS and access to tickets offers the conference website.

Meta released Jest 28 at the end of April. Originally, the company, which was still run as Facebook at the time, started the project in 2011 under the internal name jst because it needed a suitable test tool for the new implementation of the chat function in JavaScript. In 2014 the open source laying took place. At first, Facebook employees took care of the project on the side, but in 2016 Christoph Nakazawa took over and overhauled Jest with a permanent team.

Over time, more and more external developers became involved in the project, which led to Facebook creating the Jest Open Collective in 2018 to promote development. Since then, Meta has raised $70,000 in funding for the open source community. None of the core contributors are now employed at Meta, and since 2018 almost all contributions to the project have come from outsiders.

The handover to the OpenJS Foundation is a logical next step. The foundation was created in 2019 as a merger of the Node.js Foundation and the JS Foundation. Like the two original organizations, it is under the umbrella of the Linux Foundation.

The OpenJS Foundation intends to continue Jest with no changes for development or releases. The core team responsible for the framework also remains unchanged. In the next few months, however, it will be necessary to work through the checklist for the requirements at the foundation and to adapt the code of conduct and the license agreement.

More details can be the blog posts of the OpenJS Foundation and des Open Source teams at Meta remove.


To home page

Leave a Comment