AFternoon Everyone 我已经使用了一段时间的模拟Lambda测试工具,没有任何问题。然而,在最近对visual studio 2019 16.10.1进行更新后,该工具不再起作用。Ensure that the target process is configured to use .NET Core.This may be expected if the target process did not run on .NET Core.我发现测试
我正在构建一个REST API,并且有一些控制器,我想测试一下。问题是,对于post方法,我需要模拟http请求。我在控制器中的post方法如下所示: public async Task<IActionResult> Post([FromBody] xxx xxx)[Test]
public async Task Po