Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes
File renamed without changes
Binary file added Docs/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions Docs/pages/00-index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Mockolate

<img align="right" width="200" src="https://raw.githubusercontent.com/aweXpect/Mockolate/main/Docs/logo_256x256.png" alt="Mockolate logo" />
<img align="right" width="200" src="https://raw.githubusercontent.com/Testably/Mockolate/main/Docs/Mockolate_256x256.png" alt="Mockolate logo" />

[![Nuget](https://img.shields.io/nuget/v/Mockolate)](https://www.nuget.org/packages/Mockolate)

[**Mockolate**](https://github.com/aweXpect/Mockolate) is a modern, strongly-typed, AOT-compatible mocking library for .NET, powered by source generators.
[**Mockolate**](https://github.com/Testably/Mockolate) is a modern, strongly-typed, AOT-compatible mocking library for .NET, powered by source generators.
It enables fast, compile-time validated mocking with .NET Standard 2.0, .NET 8, .NET 10 and .NET Framework 4.8.

- **Source generator-based**: No runtime proxy generation.
Expand All @@ -24,7 +24,7 @@ It enables fast, compile-time validated mocking with .NET Standard 2.0, .NET 8,

For side-by-side setup, usage, and verification syntax against Moq, NSubstitute, and FakeItEasy, see the [full code comparison](08-comparison.md).

Already on Moq or NSubstitute? The companion package [`Mockolate.Migration`](https://github.com/aweXpect/Mockolate.Migration)
Already on Moq or NSubstitute? The companion package [`Mockolate.Migration`](https://github.com/Testably/Mockolate.Migration)
ships analyzers and code fixers that translate common Moq and NSubstitute patterns to Mockolate syntax in-place: point it
at an existing test project and apply the suggested fixes.

Expand Down
2 changes: 1 addition & 1 deletion Pipeline/Build.Pack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ partial class Build
if (foundBadge && string.IsNullOrWhiteSpace(line) && !addedImage)
{
sb.AppendLine();
sb.AppendLine($"![Mockolate logo](https://raw.githubusercontent.com/{BuildExtensions.Owner}/{BuildExtensions.Repo}/main/Docs/logo_256x256.png) ");
sb.AppendLine($"![Mockolate logo](https://raw.githubusercontent.com/{BuildExtensions.Owner}/{BuildExtensions.Repo}/main/Docs/Mockolate_256x256.png) ");
addedImage = true;
}

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Mockolate

<img align="right" width="200" src="Docs/logo_256x256.png" alt="Mockolate logo" />
<img align="right" width="200" src="Docs/Mockolate_256x256.png" alt="Mockolate logo" />

[![Nuget](https://img.shields.io/nuget/v/Mockolate)](https://www.nuget.org/packages/Mockolate)
[![Build](https://github.com/Testably/Mockolate/actions/workflows/build.yml/badge.svg)](https://github.com/Testably/Mockolate/actions/workflows/build.yml)
Expand Down
10 changes: 7 additions & 3 deletions Source/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<RepositoryUrl>https://github.com/Testably/Mockolate.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageIcon>Docs/logo_256x256.png</PackageIcon>
<PackageIcon>Docs/logo.png</PackageIcon>
<PackageReadmeFile>Docs/README.md</PackageReadmeFile>
</PropertyGroup>

Expand Down Expand Up @@ -51,10 +51,14 @@
</ItemGroup>

<ItemGroup>
<None Include="$([MSBuild]::GetPathOfFileAbove('logo_256x256.png', '$(MSBuildThisFileDirectory)../Docs/'))"
<None Include="$([MSBuild]::GetPathOfFileAbove('Mockolate_256x256.png', '$(MSBuildThisFileDirectory)../Docs/'))"
Pack="true"
PackagePath="/Docs/"
Link="\Docs\logo_256x256.png"/>
Link="\Docs\Mockolate_256x256.png"/>
<None Include="$([MSBuild]::GetPathOfFileAbove('logo.png', '$(MSBuildThisFileDirectory)../Docs/'))"
Pack="true"
PackagePath="/Docs/"
Link="\Docs\logo.png"/>
<None Include="$(SolutionDir)/Artifacts/README.md"
Condition="Exists('$(SolutionDir)/Artifacts/README.md')"
Pack="true"
Expand Down
Loading