I am new to unit testing, and I continously hear the words ‘mock objects’ thrown around a lot. In layman’s terms, can someone explain what mock objects are, and...
I like to simulate an asynchronous web service call in my Dart application for testing. To simulate the randomness of these mock calls responding (possibly out of order) I’d...
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...
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...
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...
I’d like to be able to unit test my Arduino code. Ideally, I would be able to run any tests without having to upload the code to the Arduino....
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...
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',...
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only...
Mocha tries to find test files under test by default, how do I specify another dir, e.g. server-test? 15 Answers 15

