Jest - JavaScript testing made easier

in #steemhunt6 years ago (edited)

Jest

JavaScript testing made easier


Screenshots

download (1).png

unknown (5).png
View Image

Hunter's comment

Jest - Delightful JavaScript Testing

Jest is a unit testing framework created by Facebook, which gain a lot of popularity in the recent time. I had been using Jest extensively for both front end web (React) and backend Node.js server (Express and Discord).

Jest will look for files that ends with .test.js, and run unit test on these files, therefore it is hassle-free on setting up testing framework code alongside with main source code.

Key features:

  • Relatively Fast to start up and running.
  • Easy to setup.
  • Works like a charm.
  • Suitable for new comers that are not familiar with Test Driven Development (TDD), as the setup is quite easy.
  • Support running partial test or only run failed test.
  • Snapshot testing available for front end to take trees structure. (Support in React and Vue)
  • Build in code coverage report from Istabul.
  • Support typescript.
  • Project is open source on Github!

Drawbacks

  • Jest was mostly used by React project, therefore it might be some pain to test other framework due to lack of support.
  • maybe a slightly slow in terms of execution time compared to other unit testing framework.
  • Quite new unit testing framework, some plugins might not be available.

Overall

Jest is the new star in the unit testing field for javascript, and I think it is worth a try especially the feature of snapshot testing.


Link

https://jestjs.io


Contributors

Hunter: @superoo7



Steemhunt.com

This is posted on Steemhunt - A place where you can dig products and earn STEEM.
View on Steemhunt.com

Sort:  

Hey, @superoo7 this is really helpful great hunt

Here is my review

Pros:

  • Support multiple features like developer ready mode
  • Fastest as compre to others
  • Gives feedbacks and reports
  • Support powerful moking labrary
  • Easy to use
  • Overall cool hunt

Cons:

  • No cons are found

Here is something for your Hunt

remember to hunt really your best finds on the web, we want the site to be fully of quality awesome products that people will love!

some power tips for the next hunt.. .

  • use animated gifs up to 10mb
  • quote some of the text using > arrow
  • write your opinions about the product
  • comment pro and cons on other hunts
  • upvote and resteem your favs of the day
  • write a blog post about your top 5/10/25 :)

check out our DISCORD for questions, & suggestions — don’t forget to always SEARCH and always check the GUIDELINES before submitting your next HUNT! :)


we have some translators for daily video updates (THE__HUNT) but i’m always looking for Korean, Indonesian, French, Spanish, Filipino, Turkish Translators for the Youtube Videos that i’m posting — if you want to help with translations drop me a message! :) — I’ll happily add you as makers to whatever outcome my hunt posts make!

Thanks for the post, I have tried the application. It has a very user-friendly interface and easy use. As a developer, I can say that the app is very useful and convenient to test your js code instantly!

你今天过的开心吗?新人吗?《steemit指南》拿一份吧,以免迷路; 另外一定要去 @team-cn 的新手村看看,超级热闹的大家庭。倘若你想让我隐形,请回复“取消”。

You've been upvoted by TeamMalaysia Community :-

To support the growth of TeamMalaysia Follow our upvotes by using steemauto.com and follow trail of @myach

Vote TeamMalaysia witness bitrocker2020 using this link vote for witness

Congratulation! Your hunt was ranked in 21st place on 8 Jul 2018 on Steemhunt.

We have upvoted your post for your contribution within our community.
Thanks again and look forward to seeing your next hunt!

Want to chat? Join us on:

Coin Marketplace

STEEM 0.26
TRX 0.11
JST 0.032
BTC 63510.75
ETH 3065.54
USDT 1.00
SBD 3.82