Disadvantages of Test Driven Development? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for … Read more

Unit testing Anti-patterns catalogue

Locked. This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions. anti-pattern : there must be at least two key elements present to formally distinguish an actual anti-pattern from a simple bad habit, bad practice, or bad idea: Some repeated … Read more

What are some popular naming conventions for Unit Tests? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for … Read more

Unit Tests not discovered in Visual Studio 2017

I have been struggling with VS 2017 since I installed it. Now it seems Unit Tests will only run from the command line “dotnet test.” My project is .NET Core 1.1.1. I have the SDK and the framework update for 1.1.1 installed. I have tried the sample at MSDN (https://msdn.microsoft.com/en-us/library/ms182532.aspx) which also fails exactly the … Read more

Angular 2 Unit Tests: Cannot find name ‘describe’

I’m following this tutorial from angular.io As they said, I’ve created hero.spec.ts file to create unit tests: import { Hero } from ‘./hero’; describe(‘Hero’, () => { it(‘has name’, () => { let hero: Hero = {id: 1, name: ‘Super Cat’}; expect(hero.name).toEqual(‘Super Cat’); }); it(‘has id’, () => { let hero: Hero = {id: 1, … Read more