AITeky Learn

AiTeky Original Interactive Learning & Practice Intermediate

Assertions, functional tests and five graded apps

Learn exactly what each Chai assertion accepts, from equal against strictEqual to deep equality, approximate numbers and patterns, write unit and functional tests in the Mocha style, then build the tricky parts of the five quality assurance projects, including a unit parser and a sudoku solver.

The free freeCodeCamp Quality Assurance certificate is earned with five apps, each with its own unit and functional tests written with Mocha and Chai, and graded by more tests. Most failures come from two places: an assertion that is subtly wrong (equal where strictEqual was meant) and an edge case in parsing input.

Mocha and Chai are JavaScript and do not run in your browser here, so each lesson shows the JavaScript and runs the same checks in Python, so you can see which pass and which fail.

  • Learn lessons explain one idea at a time and let you run it.
  • Industry ready lessons decide and justify, and end with interview questions.

Take the JavaScript course and the software testing course first if functions and test cases are new to you.

Locked. Sign up free

Learn

Understand each idea with everyday examples. No coding background needed.

  1. 01 30 min Free sample 🔒 AiTeky Pass What each assertion accepts: equality, truth, numbers, strings and HTTP responses See which values pass equal, strictEqual and deepEqual, isOk against isTrue, approximately, include and match, then write unit tests with suite and test and functional tests that send a request and check the status, type and body.

Industry ready

Real problems from real jobs, and the questions interviewers ask about them.

  1. 02 40 min 🔒 AiTeky Pass On the job: a unit parser, a sudoku solver and API tests for the graded apps Parse inputs like "3.1mi", "1/2km" and "5//2lbs" with the exact error messages tests expect, validate a sudoku placement by row, column and box and solve the puzzle by backtracking, list the edge cases the translator, issue tracker and library tests check, and turn user stories into a test plan. Ends with interview questions.

We use essential cookies to run the site. With your permission we also set one anonymous ID to count unique visitors, and analytics cookies to see which pages help learners. Cookie notice

Join AiTeky Learn. It's free.

Create a free account to track your progress, save items for later and get study suggestions.

Sign up free Log in