Questions tagged [unit-tests]

Unit testing is a method by which individual units of source code are tested to determine if they are fit for use. A unit is the smallest testable part of an application.

5 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
1k views

Get Visual Studio (2013 Community) unit test execution messages

Hi, I'm trying to make a "nice" test execution report and get the next messages: Message StackTrace Elapsed time Test name and Test Outcome are easily taken as TestContext parameters, for output I'm ...
1
vote
0answers
46 views

Unit test for reading/writing files

I finished my studies recently and I am a junior developer. The problem is that I'm the only computer scientist in my company and I am afraid of taking bad habits because nobody is here to tell me how ...
1
vote
0answers
35 views

Jasmine, how to test a return?

I'm writing some unit tests for our Angular application. In a few instances, we have some code that is like the following. public submit(): void { if (!this.selectedValue) { ...
1
vote
0answers
62 views

Consumer-driven Contract Testing

I've just come across the term consumer-driven contract testing and, working as a QA, was wondering a few things: 1) what does this actually mean in laymans terms? 2) who would generally execute ...
0
votes
0answers
13 views

Unit testing a native sql query

The project in question runs on Hibernate 5.4 for persistence, against MySQL when deployed. Unit tests are ran during the Maven build. I'm in the process of doing a feel-faster optimization. As such, ...