Skip to content

add snapshot test for Mimir's GraphQL schema #509

@boscohyun

Description

@boscohyun

Create Mimir.Tests proejct if not exists

Add snapshot test for Mimir's GraphQL schema

  • snapshot test package: Verify, Verify.Xunit

Example:

[Fact]
public async Task VerifySchemaChange()
{
    var schema = await new ServiceCollection()
        .AddGraphQLServer()
        .AddLib9cGraphQLTypes()
        .AddMimirGraphQLTypes()
        .BuildSchemaAsync();
    Verify(schema.ToString());
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No Assignee

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions