IntelliJ IDEA vs Jest

Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

IntelliJ IDEA
IntelliJ IDEA

8K
6.2K
+ 1
1.3K
Jest
Jest

1.4K
788
+ 1
120
Add tool

IntelliJ IDEA vs Jest: What are the differences?

IntelliJ IDEA: Capable and Ergonomic IDE for JVM. Out of the box, IntelliJ IDEA provides a comprehensive feature set including tools and integrations with the most important modern technologies and frameworks for enterprise and web development with Java, Scala, Groovy and other languages; Jest: Painless JavaScript Unit Testing. Jest provides you with multiple layers on top of Jasmine.

IntelliJ IDEA and Jest are primarily classified as "Integrated Development Environment" and "Javascript Testing Framework" tools respectively.

Some of the features offered by IntelliJ IDEA are:

  • Smart Code Completion
  • On-the-fly Code Analysis
  • Advanced Refactorings

On the other hand, Jest provides the following key features:

  • Familiar Approach: Built on top of the Jasmine test framework, using familiar expect(value).toBe(other) assertions
  • Mock by Default: Automatically mocks CommonJS modules returned by require(), making most existing code testable
  • Short Feedback Loop: DOM APIs are mocked and tests run in parallel via a small node.js command line utility

"Fantastically intelligent" is the primary reason why developers consider IntelliJ IDEA over the competitors, whereas "Open source" was stated as the key factor in picking Jest.

Jest is an open source tool with 26.4K GitHub stars and 3.57K GitHub forks. Here's a link to Jest's open source repository on GitHub.

According to the StackShare community, IntelliJ IDEA has a broader approval, being mentioned in 815 company stacks & 1066 developers stacks; compared to Jest, which is listed in 273 company stacks and 161 developer stacks.

- No public GitHub repository available -

What is IntelliJ IDEA?

Out of the box, IntelliJ IDEA provides a comprehensive feature set including tools and integrations with the most important modern technologies and frameworks for enterprise and web development with Java, Scala, Groovy and other languages.

What is Jest?

Jest provides you with multiple layers on top of Jasmine.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose IntelliJ IDEA?
Why do developers choose Jest?

Sign up to add, upvote and see more prosMake informed product decisions

Sign up to add, upvote and see more consMake informed product decisions

Jobs that mention IntelliJ IDEA and Jest as a desired skillset
What companies use IntelliJ IDEA?
What companies use Jest?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with IntelliJ IDEA?
What tools integrate with Jest?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to IntelliJ IDEA and Jest?
Eclipse
Standard Eclipse package suited for Java and plug-in development plus adding new plugins; already includes Git, Marketplace Client, source code and developer documentation. Click here to file a bug against Eclipse Platform.
PhpStorm
PhpStorm is a PHP IDE which keeps up with latest PHP & web languages trends, integrates a variety of modern tools, and brings even more extensibility with support for major PHP frameworks.
Android Studio
Android Studio is a new Android development environment based on IntelliJ IDEA. It provides new features and improvements over Eclipse ADT and will be the official Android IDE once it's ready.
PyCharm
PyCharm’s smart code editor provides first-class support for Python, JavaScript, CoffeeScript, TypeScript, CSS, popular template languages and more. Take advantage of language-aware code completion, error detection, and on-the-fly code fixes!
WebStorm
WebStorm is a lightweight and intelligent IDE for front-end development and server-side JavaScript.
See all alternatives
Decisions about IntelliJ IDEA and Jest
Dschinkel Schinkel
Dschinkel Schinkel
Enzyme
Enzyme
React
React
JavaScript
JavaScript
Jest
Jest
Mocha
Mocha
#Testdrivendevelopment
#Bdd
#Tdd

I use both mocha and Jest because:

  • I don't care whether teams use Jest or Mocha. But jest is way too overhyped. Most devs are writing integration tests and think that it's so much better but frankly I don't write integration tests as the way to get both design feedback and confidence when I code. I adhere to the test pyramid, not ice cream cone or the dumb "trophy"

  • I TDD, so I only ever use the "API" of test frameworks. I don't do a lot of integration tests for TDD and all the bells and whistles Jest provides you from the command-line I just don't need. And I certainly do not care about or touch Jest Snapshots, I despise them

  • My tests are fast enough because I write isolated tests with TDD, so I don't run into performance issues. Example: I write my tests in a way that I can run 300 tests in literally 1 second with mocha. So the Jest ability to pinpoint and only run those tests which are affected by code changes. I want to run all of them every time when I TDD. It's a different mindset when you TDD

  • I also mainly code in IntelliJ or WebStorm because I feel the tools in that IDE far surpass VSCode and I also love running the test UI runner in it vs. lousy command-line

  • I feel both mocha and Jest read just fine in terms of code readability. Jest might have shorter assertion syntax but I don't really care. I just care that I can read the damn test and my tests are written well and my test descriptions, as well as the code itself including constants represent business language, not technical. I care most about BDD, clean code, 4 rules of simple design, and SOLID

  • I don't like using mock frameworks so no I don't use Jest's Mocking framework. I don't have to mock a lot in my tests due to the nature of how I strive to code...I keep my design simple and modular using principals such as clean code and 4 rules of simple design. If I must mock, I create very simple custom mocks with JS

  • On the contrary to the belief that integration tests and mount are the way to go (this belief drives me absolutely crazy, especially Dodd's promoting that), I TDD with shallow & enzyme. My tests are simple. My design is driven by my tests and my tests give me quick and useful feedback. I have a course I'm working on coming out soon on TDD with React to show you how to truly test the FE and why the ice cream cone and trophy suck (you're being scammed people). Watch for that here: https://twitter.com/DaveSchinkel/status/1062267649235791873

Don't forget to upvote this post!

Mocha Jest JavaScript React @jsdom Enzyme #tdd #bdd #testdrivendevelopment

See more
Russel Werner
Russel Werner
Lead Engineer at StackShare · | 7 upvotes · 52.2K views
atStackShareStackShare
Percy
Percy
Happo.io
Happo.io
React Storybook
React Storybook
Enzyme
Enzyme
Jest
Jest

We use Jest because when we rebooted our "front end" stack earlier last year, we need to have a testing solution (we didn't have any front-end tests before that!). Jest is fast and convenient and it has plenty of community support behind it. It let's us run our unit tests with Enzyme and snapshot tests.

This is an area that we are constantly reviewing to see what can be improved, both in terms of developer needs, accuracy, test maintainability, and coverage.

I'm currently exploring using React Storybook to be the record of snapshot tests and using some online services, such as Happo.io and Percy in our CI pipeline.

See more
Scott Mebberson
Scott Mebberson
CTO / Chief Architect at Idearium · | 2 upvotes · 20.7K views
Jest
Jest
Mocha
Mocha

We used to Mocha for as our primary Node.js test framework. We've now switched to Jest and haven't looked back.

Jest is faster and requires less setup and configuration. The Mocha API and eco-system is vast and verified, but that also brings complexity.

It you want to get in, write tests, execute them and get out, try Jest 😀

See more
Andrey Kurdyumov
Andrey Kurdyumov
Sr. Software developer · | 6 upvotes · 20.7K views
IntelliJ IDEA
IntelliJ IDEA
Visual Studio
Visual Studio

I use Visual Studio because it provides me best default configuration for development. Less choice helps me concentrate on the product. In a sense it is iPhone of software development for me. When my laptop broke, I just download latest version of VS and start coding without any configuration. For sure it has best editor in terms of perceived responsiveness. Could not say the same for IntelliJ IDEA unfortunately.

See more
Gustavo Muñoz
Gustavo Muñoz
Web UI Developer at Globant · | 1 upvotes · 1.6K views
Enzyme
Enzyme
Jest
Jest

I really enjoy using Jest as my testing framework. I also use Enzyme to complement, and both together are amazing. Jest is fast and easy to use, It has all you need together under the same tool, and it's pretty easy to create all kind of test, even asynchronous ones. I was responsible for implant it in our company projects, and it was the best decision for testing.

See more
Jack Graves
Jack Graves
Head of Product Development at Automation Consultants · | 3 upvotes · 24K views
atAutomation ConsultantsAutomation Consultants
Mocha
Mocha
Apache JMeter
Apache JMeter
Jest
Jest
JUnit
JUnit

We use JUnit and Jest to perform the bulk of our automated test scenarios, with additional work with Apache JMeter for performance testing - for example, the Atlassian Data Center compliance testing is performed with JMeter. Jest provides testing for the React interfaces, which make up the backend of our App offerings. JUnit is used for Unit Testing our Server-based Apps. Mocha is another tool we use.

See more
Robert Zuber
Robert Zuber
CTO at CircleCI · | 15 upvotes · 263K views
atCircleCICircleCI
Cypress
Cypress
Percy
Percy
Jest
Jest
Apollo
Apollo
GraphQL
GraphQL
Emotion
Emotion
TypeScript
TypeScript
Storybook
Storybook
React
React
Next.js
Next.js

We are in the process of adopting Next.js as our React framework and using Storybook to help build our React components in isolation. This new part of our frontend is written in TypeScript, and we use Emotion for CSS/styling. For delivering data, we use GraphQL and Apollo. Jest, Percy, and Cypress are used for testing.

See more
Interest over time
Reviews of IntelliJ IDEA and Jest
Avatar of cristiangiagante
.Net Developer at Hexacta
Review ofJestJest

I'm using Jest for 3 months in a Vue JS project . I need to use a lot of custom search of related topics in jest docs because it's not clear. The examples are very poor too.

How developers use IntelliJ IDEA and Jest
Avatar of Promethean TV
Promethean TV uses IntelliJ IDEAIntelliJ IDEA

PrometheanTV builds applications and services utilizing a variety of languages and technologies. The IntelliJ IDE is used by various technical staff to build software on a variety of languages supported by the IDE including Java, HTML/CSS/JS, etc.

Avatar of Scrayos UG (haftungsbeschränkt)
Scrayos UG (haftungsbeschränkt) uses IntelliJ IDEAIntelliJ IDEA

IntelliJ IDEA is our polyglot IDE of choice. We use it esentially for all programming and coding aswell as some basic database management and planning. IntelliJ IDEA has proven to be a reliable companion in developing our various software.

Avatar of Kang Hyeon Ku
Kang Hyeon Ku uses IntelliJ IDEAIntelliJ IDEA

eclipse 를 쓰면서 이만하면 충분한거 아닌가 왜 돈내고 IDE를 사서 쓰지 했는데, 진짜 돈 값을 한다. 정말 자동화 완성 기능은 엄청난것 같다. 단축키로 이소스 저소스 넘어 다니고 이창 저창 뜨우는게 편하다. 그리고 프레임워크 서포트 기능이 장말 강력하다. 그리고 가장 맘에 드는 점은 터미널이 기본 창에 있는 점이 좋다. CMD 가 싫으면 설정을 통해 다른 터미널 프로그램으로 바꿀수 있다.

Avatar of Volkan Özçelik
Volkan Özçelik uses JestJest

Jest is my unit-testing tool of choice.

Almost all unit testing suites (Mocha, Jasmine, etc.) are more or less the same.

The main advantage I guess, is that it integrates pretty well with React and Enzyme.

Avatar of datapile
datapile uses IntelliJ IDEAIntelliJ IDEA

If Scala and Spring are the gods gifts in terms of programming languages and opinionated-frameworks, then JetBrain's IntelliJ IDEA is the IDE equivalent.

Words don't do it justice.

Avatar of MOKA Analytics
MOKA Analytics uses IntelliJ IDEAIntelliJ IDEA

We use IntelliJ IDEA because it has great support for both Python and JS. In particular, its type-based code analyses, refactoring tools, and debugger are world class

How much does IntelliJ IDEA cost?
How much does Jest cost?
Pricing unavailable
Pricing unavailable