JavaScript Testing 🔧

Here are 6 awesome frameworks and utilities to test your JavaScript code.

1️⃣ Jest
2️⃣ Mocha
3️⃣ Jasmine
4️⃣ Enzyme
5️⃣ Protractor
6️⃣ Cypress

🧵👇
1️⃣ Jest

By far the most popular general-purpose JavaScript Testing Framework.
Works for most projects, most frameworks, and libraries and has great support for TypeScript and Babel.

jestjs.io
2️⃣ Mocha

Mocha is another popular choice for general-purpose testing in JavaScript and Node.js applications.

mochajs.org
3️⃣ Jasmine

Jasmine is a behavior-driven Testing Framework for JavaScript.

It's easy to get started and easy to use.

jasmine.github.io
4️⃣ Enzyme

Enzyme is a JavaScript Testing utility specifically built for testing React Components.

It's massively adopted in the React community and is often used in combination with Jest.

enzymejs.github.io/enzyme/
5️⃣ Protractor

Protractor is an end-to-end Testing Framework for Angular Applications and is often used together with Jasmine.

protractortest.org
6️⃣ Cypress

Cypress is a complete end-to-end Testing Framework for JavaScript.

It's using its own test-runner and has certain syntax similarities with Enzyme.

It has become really popular and is a true pleasure to work with 🔥

cypress.io

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Simon Høiberg

Simon Høiberg Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @SimonHoiberg

14 Jan
Why should you start your own business instead of becoming an employee?

Well, being a business owner isn't for everyone.
But it may be exactly the change you need!

Let me give you some great reasons to quit your job and become self-employed.

🧵👇 Image
1️⃣ You become free and independent

You get the ability to steer the direction of your life in any way you want, instead of working for the whims of others.

You also get to manage your own time and schedule.
Who wants to ask for permission to spend time with your loved ones?
2️⃣ You get to follow your passion

In your own business, you get to do what excites you.
Not only does a passion make your job fulfilling, but it also unlocks hidden powers in you!

Why do you work?

❌ Because my boss wants this done by tomorrow.
✅ Because I love what I do!
Read 9 tweets
17 Dec 20
Looking for your dream job in tech?

Use these tips to catch the attention of the tech recruiters.

👇🧵
🔸Have a great LinkedIn profile

Your LinkedIn profile is probably the most important asset for your career.

This is typically going to be the first impression the recruiters get from you, so make sure it stands out GREAT!

Here are so tips on how to improve it 👇
🔹 Have a great profile image

Make sure to have a great profile image:
- Look professional
- Clean background
- Great lighting

You can use this service to analyze the quality of your LinkedIn image.
snappr.com/photo-analyzer/
Read 18 tweets
16 Dec 20
Working with regex can be tedious and frustrating.
But we still need to do it, every now and then.

Here are 5 GREAT online tools to make your life a little easier:

🔹regex101
🔹regexr
🔹regextester
🔹regexpal
🔹myregexp
🔹regex101
regex101.com
🔹regexr
regexr.com
Read 6 tweets
11 Dec 20
Do you like my content here on Twitter?

I'm active on other social platforms as well!
Do you wanna connect or subscribe? 🤩

I've made a collection of links below 👇
You can find me on YouTube here 👇

I try my best to share quality videos about programming, entrepreneurship, and tips on how to rock your career.

youtube.com/simonhoiberg
I'm also on Instagram 👇

I share more visual content here.
Tips and advice come in the form of images, slides, and stories.

instagram.com/simonhoiberg
Read 5 tweets
10 Dec 20
Create a SaaS product 🚀

What does it take to create a successful SaaS Product?
Let's break it down!

Follow these steps 👇🧵
🔸 Have a great idea

Find out which problem you want to solve.
Boil it down. Make it narrow and specific.

Don't be discouraged if your idea is already out there.
If there's already a market out there, see it as a confirmation that your product is needed.
🔸 Present your concept

Create wireframes and prototypes.

Now show the idea to the world.
You want confirmation that people are interested.

Show your family and friends.
Share on Twitter, LinkedIn, Reddit.

Read 12 tweets
8 Dec 20
Node.js Learning Path 🔥

Master these topics, and you'll be ready to take on your first job as a Node.js Back End Developer!

Let's go through them 🧵👇
🔸 JavaScript and Node.js fundamentals

This probably doesn't come as a surprise, but this is the first place to start.

Become familiar with:
- JavaScript ES6+ syntax
- Node.js 10+ fundamentals
🔹 JavaScript ES6+ syntax

You should be comfortable with:
- Arrow functions
- Promises (async/await)
- Modules
Read 16 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!