Skip to content

gbiellem/BlazingWaffles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Build status

BlazingWaffles

Blazor wrapper around the Waffle Generator.

See Milestones for release notes.

Site is live at http://wafflegen.azurewebsites.net

Data Binding

Uses Fody PropertyChanged to implement INotifyPropertyChanged.

Clipboard

Uses TextCopy add content to the clipboard.

Tests

Uses bunit and Verify to perform snapshot testing.

public class Tests
{
    [Fact]
    public Task Component()
    {
        var services = new ServiceCollection();
        services.AddSingleton<IJSRuntime>(new MockJSRuntime());
        services.InjectMockClipboard();
        using var provider = services.BuildServiceProvider();
        var target = Render.Component<Index>(
            provider,
            template: new()
            {
                Waffle = "The Waffle",
                Sha = "TheSha"
            });
        return Verify(target);
    }
}

snippet source | anchor

About

Simple Blazor wrapper around the Waffle Generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published