include ../../../../_includes/_util-fns :markdown In this chapter we’ll setup the environment for testing our sample application and write a few easy Jasmine tests of the app’s simplest parts. We learn: - to test one of our application classes - why we prefer our test files to be next to their corresponding source files - to run tests with an `npm` command - load the test file with systemJS ## Prerequisites We assume - you’ve learned the basics of Angular 2, from this Developers Guide or elsewhere. We won’t re-explain the Angular 2 architecture, its key parts, or the recommended development techniques. you’ve read the [Jasmine 101](./jasmine-testing-101.html) chapter. - you’ve downloaded the [Heroes application we’re about to test](./#). ## Create the test-runner HTML Step away from the Jasmine 101 folder and turn to the root folder of the application that we downloaded in the previous chapter. Locate the `src` folder that contains the application `index.html` Create a new, sibling HTML file, ** `unit-tests.html` ** and copy over the same basic material from the `unit-tests.html` in the [Jasmine 101](./jasmine-testing-101.html) chapter. ```