Questions tagged [testserver]
21 questions
0
votes
2 answers
How do I replace service implementations for Web API integration testing using TestHost.TestServer in .NET 5
I am trying to move my integration tests from WebApplicationFactory to TestServer in .NET 5. In my existing implementation I can override ConfigureWebHost and call IWebHostBuilder.ConfigureServices to replace service implementations with mocks. This…

Ian Horwill
- 2,957
- 2
- 24
- 24
0
votes
0 answers
How to resolve a User for the first time(hasn't met before) on TestServer?
I'm just started to use Pyrogram to develop TG-Clients. for a starter, tried to pilot my scripts on [Test servers] to ensure things are fine. So created two user's account by the client-library itself (test numbers) then tried to run a sample…

IPEN
- 41
- 2
0
votes
1 answer
Configure OData Test Server
Trying to set-up unit / integration tests for some extensions I am writing for the OdataQueryOptions class. I am using .net core 3.1.
In order to create the SUT instance - I need a HttpRequest. Which I creating using the…

JDBennett
- 1,323
- 17
- 45
0
votes
0 answers
Test Server for Eclipse IDE PHP 2020-06
I'm new to PHP development and I'm facing some difficulties on installing a test server on the eclipse ide. Basically, i have installed wampserver x64 (apache 2.4, mysql 5.7 and PHP 7.0) with eclipse ide 2020-06 on a windows 10 machine. The problem…

Calvin
- 1
- 1
0
votes
1 answer
Resolving DbContext on a Test project returns a DbContext with a wrong connectionString
I have a test project that uses IClassFixture of a generic factory class.
For example
public class WeatherForecastAcceptanceTest
: IClassFixture>, IDisposable
{
.....
}
after the Startup class executes…

Zinov
- 3,817
- 5
- 36
- 70
-1
votes
1 answer
Problem with npm install --global http-server
I'm trying to install a test server in vscode using npm install --global http-server, after I cd to my current folder where my code is, when I run the command I'm supposed to get a node_modules folder and then I should run npm init to get…

Arialita
- 15
- 1
- 5