Skip to content

Commit

Permalink
Merge pull request #8 from jfversluis/prepare-nuget
Browse files Browse the repository at this point in the history
Update README & package metadata for release on NuGet
  • Loading branch information
jfversluis authored Mar 25, 2024
2 parents a54b90f + b310052 commit 757daf1
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 45 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Gerald Versluis
Copyright (c) 2024 Gerald Versluis

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
33 changes: 13 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
![](https://raw.githubusercontent.com/jfversluis/Plugin.Maui.UITestHelpers/main/nuget.png)
# Plugin.Maui.UITestHelpers

A set of helpers extracted from the .NET MAUI codebase ([here](https://github.com/dotnet/maui/tree/main/src/TestUtils/src), the folders prefixed UITest) that can help with writing UI tests and/or transition Xamarin.UITest tests to Appium.
`Plugin.Maui.UITestHelpers` provides a set of helpers to support UI testing your .NET MAUI app with Appium and migration from Xamarin.UITest to Appium. It consists of three packages, see below for more information.

The set of helpers are extracted from the .NET MAUI codebase ([here](https://github.com/dotnet/maui/tree/main/src/TestUtils/src), the folders prefixed UITest) this code can help with writing UI tests with Appium and/or transition your existing Xamarin.UITest tests to Appium.

> [!WARNING]
> At this time this project is not officially supported and experimental.
Expand All @@ -11,31 +14,21 @@ A set of helpers extracted from the .NET MAUI codebase ([here](https://github.co

## Install Plugin

Right now this is available on my private Azure Artifacts feed which you can find [here](https://jfversluis.pkgs.visualstudio.com/MauiUITestHelpers/_packaging/UITestHelpers/nuget/v3/index.json).

<!--![](nuget.png)
# Plugin.Maui.UITestHelpers
`Plugin.Maui.UITestHelpers` provides a set of helpers to support UI testing your .NET MAUI app and migration from Xamarin.UITest to Appium.
## Install Plugin
[![NuGet](https://img.shields.io/nuget/v/Plugin.Maui.UITestHelpers.svg?label=NuGet)](https://www.nuget.org/packages/Plugin.Maui.UITestHelpers/)
This project consists of three packages. please find the details below. All packages are available on NuGet.

Available on [NuGet](http://www.nuget.org/packages/Plugin.Maui.UITestHelpers).
| Package Name | Description | NuGet Package |
|----------|------------|---------------|
| Plugin.Maui.UITestHelpers.Core | Shared, core types that are used across the different projects | ![NuGet Version](https://img.shields.io/nuget/vpre/Plugin.Maui.UITestHelpers.Core) |
| Plugin.Maui.UITestHelpers.Appium | This package contains code specific to UI testing with Appium. It's filled with helpers that will make writing UI tests easier, as well as methods that (mostly) mimic Xamarin.UITest to make transitioning your current UI tests easier | ![NuGet Version](https://img.shields.io/nuget/vpre/Plugin.Maui.UITestHelpers.Appium) |
| Plugin.Maui.UITestHelpers.NUnit | This package contains helpers that will make it easier to write UI tests based on NUnit | ![NuGet Version](https://img.shields.io/nuget/vpre/Plugin.Maui.UITestHelpers.NUnit) |

Install with the dotnet CLI: `dotnet add package Plugin.Maui.UITestHelpers`, or through the NuGet Package Manager in Visual Studio.
Install with the dotnet CLI, for example: `dotnet add package Plugin.Maui.UITestHelpers.Appium`, or through the NuGet Package Manager in Visual Studio.

### Supported Platforms

| Platform | Minimum Version Supported |
|----------|---------------------------|
| iOS | 11+ |
| macOS | 10.15+ |
| Android | 5.0 (API 21) |
| Windows | 11 and 10 version 1809+ |
All platforms that are supported by the cross section of the support of Appium and .NET MAUI.

## API Usage
<!--## API Usage
TBD -->

Expand Down
Binary file modified nuget.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<Nullable>enable</Nullable>

<!-- NuGet -->
<Authors>author</Authors>
<Copyright>Copyright © author and contributors</Copyright>
<Authors>jfversluis</Authors>
<Copyright>Copyright © jfversluis and contributors</Copyright>
<IsPackable>True</IsPackable>
<PackageProjectUrl>https://github.com/jfversluis/Plugin.Maui.UITestHelpers</PackageProjectUrl>
<RepositoryUrl>https://github.com/jfversluis/Plugin.Maui.UITestHelpers</RepositoryUrl>
Expand All @@ -18,7 +18,7 @@
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<Title>.NET MAUI UI Test Helpers Appium Plugin</Title>
<Description>Plugin.Maui.UITestHelpers.Appium provides a set of helpers to support UI testing your .NET MAUI app and migration from Xamarin.UITest to Appium.</Description>
<Description>Plugin.Maui.UITestHelpers.Appium provides a set of helpers to support UI testing your .NET MAUI app with Appium and migration from Xamarin.UITest to Appium.</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<DebugType>portable</DebugType>
Expand All @@ -35,10 +35,10 @@
<ProjectReference Include="..\Plugin.Maui.UITestHelpers.Core\Plugin.Maui.UITestHelpers.Core.csproj" />
</ItemGroup>

<!-- Package additions -->
<ItemGroup>
<None Include="..\..\nuget.png" PackagePath="icon.png" Pack="true" />
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>
<!-- Package additions -->
<ItemGroup>
<None Include="..\..\nuget.png" PackagePath="icon.png" Pack="true" />
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<Nullable>enable</Nullable>

<!-- NuGet -->
<Authors>author</Authors>
<Copyright>Copyright © author and contributors</Copyright>
<Authors>jfversluis</Authors>
<Copyright>Copyright © jfversluis and contributors</Copyright>
<IsPackable>True</IsPackable>
<PackageProjectUrl>https://github.com/jfversluis/Plugin.Maui.UITestHelpers</PackageProjectUrl>
<RepositoryUrl>https://github.com/jfversluis/Plugin.Maui.UITestHelpers</RepositoryUrl>
Expand All @@ -18,18 +18,18 @@
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<Title>.NET MAUI UI Test Helpers Core Plugin</Title>
<Description>Plugin.Maui.UITestHelpers.Core provides a set of helpers to support UI testing your .NET MAUI app and migration from Xamarin.UITest to Appium.</Description>
<Description>Plugin.Maui.UITestHelpers.Core provides a set of helpers to support UI testing your .NET MAUI app with Appium and migration from Xamarin.UITest to Appium. Please install the Plugin.Maui.UITestHelpers.Appium package to use these helpers.</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<DebugType>portable</DebugType>
<PackageIcon>icon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<!-- Package additions -->
<ItemGroup>
<None Include="..\..\nuget.png" PackagePath="icon.png" Pack="true" />
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>
<!-- Package additions -->
<ItemGroup>
<None Include="..\..\nuget.png" PackagePath="icon.png" Pack="true" />
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<Nullable>enable</Nullable>

<!-- NuGet -->
<Authors>author</Authors>
<Copyright>Copyright © author and contributors</Copyright>
<Authors>jfversluis</Authors>
<Copyright>Copyright © jfversluis and contributors</Copyright>
<IsPackable>True</IsPackable>
<PackageProjectUrl>https://github.com/jfversluis/Plugin.Maui.UITestHelpers</PackageProjectUrl>
<RepositoryUrl>https://github.com/jfversluis/Plugin.Maui.UITestHelpers</RepositoryUrl>
Expand All @@ -18,7 +18,7 @@
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<Title>.NET MAUI UI Test Helpers NUnit Plugin</Title>
<Description>Plugin.Maui.UITestHelpers.NUnit provides a set of helpers to support UI testing your .NET MAUI app and migration from Xamarin.UITest to Appium.</Description>
<Description>Plugin.Maui.UITestHelpers.NUnit provides a set of helpers to support UI testing your .NET MAUI app with NUnit.</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<DebugType>portable</DebugType>
Expand All @@ -35,10 +35,10 @@
<ProjectReference Include="..\Plugin.Maui.UITestHelpers.Core\Plugin.Maui.UITestHelpers.Core.csproj" />
</ItemGroup>

<!-- Package additions -->
<ItemGroup>
<None Include="..\..\nuget.png" PackagePath="icon.png" Pack="true" />
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>
<!-- Package additions -->
<ItemGroup>
<None Include="..\..\nuget.png" PackagePath="icon.png" Pack="true" />
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

</Project>

0 comments on commit 757daf1

Please sign in to comment.