Mammoth Club All levels 9 sections 34 lectures

Build automated tests for NEAR smart contracts with Ava JS

Unit testing with JavaScript

01
Skill level
All levels
02
Sections
9
03
Lectures
34
04
Instructor
John Bura
What's inside

This course includes.

9
Sections
34
Lectures
34
Resources
Certificate of completion
Included
Mobile and desktop access
Included
AI learning assistance
Included
Unlock all courses with our Subscription Bundle! Get unlimited access to entire course library, books and assets. Learn more and subscribe today!
Course content

Curriculum & lectures.

9 sections · 34 lectures
+ Course Overview 1 lecture
00a Project Preview Locked
+ 01 Test a greeting smart contract 3 lectures
01 Build Greeting Smart Contract Project Locked
02 Run Tests For Greeting Smart Contract Locked
Source Files Locked
+ 02 Test a counter smart contract 4 lectures
01 Build Automated Test To Get State Variable Locked
02 Automated Testing Of Call And View Methods In Smart Contract Locked
03 Automated Testing Of Decrease State Variable Value Locked
Source Files Locked
+ 03 Test a chat smart contract 4 lectures
01 Call Contract Function Before Each Unit Test Locked
02 Check Deep Equal With Ava Js Locked
03 Test Total Message Count From Near Contract Locked
Source Files Locked
+ 04 Test a fungible token smart contract 5 lectures
01 Initialize Contract Before Each Unit Test Locked
02 Test Total Supply Of Cryptocurrency Token Locked
03 Test Balance Of Crypto Wallet Account Locked
04 Test Token Transfer With Test Case Locked
Source Files Locked
+ 05 Test NFT NEAR smart contract with Ava JS 4 lectures
01 Initialize And Mint Nft Before Each Unit Test Locked
02 Test View Minted Tokens With Ava Js Locked
03 Build Unit Test To Show All Minted Nfts Locked
Source Files Locked
+ 06 Test question answer smart contract with automated unit tests 5 lectures
01 Build Unit Test To Check Adding Question Locked
02 Test Answering Question With Ava Js Locked
03 Test Get Entry By Id With Ava Js Locked
04 Test Get All Entries In Map With Ava Js Locked
Source Files Locked
+ 07 Test social media smart contract 4 lectures
01 Add Post Before Each Unit Test Case Locked
02 Test Adding Social Media Post To Smart Contract Locked
03 Test Getting All Posts From Smart Contract Locked
Source Files Locked
+ 08 Test likes and tags in social media NEAR contract 4 lectures
01 Test Liking A Post In A Social Media Smart Contract Locked
02 Test Getting My Liked Posts From Smart Contract Locked
03 Test Getting Posts By Tag In Smart Contract Locked
Source Files Locked
Description

About this course.

What is the NEAR blockchain?

  • built to be simple, secure and scalable.
  • Low cost. High speed. Effortless scale.
  • <0.01USD Transaction Cost
  • 18M+ Active Accounts
  • 400K Daily Transactions
  • ~2.4s Time to Finality
  • Contracts, DAOs, dapps, funding
  • Layer 1 blockchainnot dependent on other chains.

uses a unique scaling mechanism

  • Nightshade sharding
  • Scales infinitely
  • resists short-term usage spikes

Proof of stake

  • More efficient than Bitcoin and Ethereum

web-based wallet

  • no need for users to install programs or browser extensions
  • makes it especially easy to onboard new users (e.g. through named accounts)

Certified carbon neutral

  • consumes in a year the same energy bitcoin consumes in 3 minutes

Interoperable with Ethereum

  • using Rainbow Bridge

Join 1.3+ million students in high-quality courses featured at Harvard

  • Lifetime access that never expires
  • Project-based curriculum to superboost your portfolio
  • Graduation certificate for every course
  • Absolute beginner-friendly
  • Use any computer
  • Satisfaction guarantee
  • Get all source code
  • Popular bundle by Mammoth students
  • Perfected over years of training

Reviews from the Mammoth Community

"This is AMAZING I just learned how to code without breaking a sweat, this is really easy and fun!" -Shalonda Lewis

"This course so far is by far amazing! The instructor is very encouraging and up beat." -Moiz Saqib

"It was informative and definitely covered the basics. Easy to understand and to follow." -Colin Mooney

Instructors

Taught by people who ship.

John Bura

John Bura

Founder and CEO of Mammoth Club and Course Pro, the #1 AI-powered Learning Management System for course and content development, training and evaluation.

Ready to start building?

Unit testing with JavaScript

Buy lifetime access →