jasmine Attributes

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Remarks

There are some terms you must be aware of before going to write the Jasmine test cases.

  1. Suites

A suit is the starting point of a Jasmine test cases, it actually calls the global jasmine function describe. It can have two parameters, a string value which describes the suit, and a function which implements the suit.

  1. Spec

Like suites, a spec starts with a string which can be the title of the suit and a function where we write the tests. A spec can contain one or more expectation that test the state of our code.

  1. Expectation

Value of an expectation is either true or false, an expectation starts with the function expect. It takes a value and call the actual one.



Got any jasmine Question?