Tag Archives: unit-tests

How it works: Angular Tests

Angular tests are always in the same place as the code. When you create a component, service, pipe, directive with ng generate it will always also generate a .spec.ts file.

Every file with the extension .spec.ts is a test file that is caught by the testing tool. Each thing is tested in a different way. For a really long documentation on tests check the official documentation here.

Continue reading

Visual Studio Unit Tests with NodeJS and TypeScript

Visual Studio has the magic window “Test Explorer” which discovers unit tests on your application and list them. It shows information about the tests.


It can be used on a NodeJS project.
Continue reading