public async Task Should_work_with_basic_auto_data_attribute(IFixture fixture, string message) { fixture.AddWebApplicationFactorySupport <TestWebSite.Startup>(b => b.UseSolutionRelativeContentRoot("helpers")); var http = fixture.Create <HttpClient>(); var response = await http.PostAsync("/", new FormUrlEncodedContent(new Dictionary <string, string> { ["message"] = message })); response.EnsureSuccessStatusCode(); var responseContent = await response.Content.ReadAsStringAsync(); Assert.That(responseContent, Is.EqualTo(message)); }