include ../../../../_includes/_util-fns :markdown We’ll write our tests with the [Jasmine test framework](http://jasmine.github.io/2.3/introduction.html). We’ll start by getting *some* tests to work - *any* tests at all. We will learn - basic Jasmine testing skills - to run our tests in the browser - to write simple Jasmine tests in TypeScript - to debug a test in the browser **Create a new project folder** perhaps called `angular2-unit-testing`. .l-main-section :markdown ## Install npm packages locally Next follow all of the steps prescribed in “Install npm packages locally” in the [Getting Started](./gettingStarted.html) chapter. We’ll also add the Jasmine package via `npm`: pre.prettyprint.lang-bash code npm install jasmine-core --save-dev --save-exact .alert.is-important :markdown Be sure to install `jasmine-core` , not `jasmine`! :markdown **Create a sub-folder `src` ** for our tests and then **cd into it**. We are going to **display and control our tests in the browser**. .l-sub-section :markdown The browser is nice during development of a few tests. It’s not the best venue for working with a lot of tests and it won’t do at all for build automation. We’ll switch to the karma test-runner when the time comes. But the browser will do for now. .l-main-section :markdown Create a new file called`unit-tests.html` and enter the following: ```