Integration testing framework for ASP.NET
FlueFlame is an open-source framework for creating End-To-End tests. FlueFlame was developed for testing ASP.NET Core applications, but can be used to test any backend.
It is implemented in the Fluent API style, which allows you to write understandable declarative tests. FlueFlame also has packages that allow you to test not only REST APIs, but also technologies such as gRPC.
Check out the Getting Started Documentation
Endpoint testing that returns employees older than a certain age:
[Test]
public void GetWithQueryReturnsOk()
{
HttpHost.Get
.Url("/api/employee/older-than")
.AddQuery("olderThan", 45)
.Send()
.Response
.AssertStatusCode(HttpStatusCode.OK)
.AsJson
.AssertThat<Employee[]>(employees => employees.Should().NotContain(x=>x.Age<45));
}
More examples here
This project is licensed under the MIT License - see the LICENSE file for details