Skip to content

Commit

Permalink
Feat/init (#1)
Browse files Browse the repository at this point in the history
* feat(init): grouping all client testing repos
  • Loading branch information
godrose authored Sep 15, 2021
1 parent 83ec430 commit 887e53e
Show file tree
Hide file tree
Showing 112 changed files with 4,101 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,6 @@ DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
Expand Down Expand Up @@ -348,3 +345,7 @@ MigrationBackup/

# Ionide (cross platform F# VS Code tools) working folder
.ionide/

# Generated packages and intermediate output
output
devops/pack/**/contents/lib
19 changes: 19 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: 2.2.2.{build}
configuration: Release
before_build:
- cd src
- nuget restore
- cd ..
build:
verbosity: minimal
project: ./src/LogoFX.Client.Testing.sln
after_test:
- cd devops
- cd pack
- pack-all
image: Visual Studio 2019
artifacts:
- name: Packages
path: .\output\*.nupkg
...

6 changes: 6 additions & 0 deletions devops/build/build-all.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Install-Module VSSetup -Scope CurrentUser -Force
Install-Module BuildUtils -Scope CurrentUser -Force

$msbuildLocation = Get-LatestMsbuildLocation
set-alias msb $msbuildLocation
msb "../../src/LogoFX.Client.Testing.sln" -property:Configuration=Release /t:Clean,Build
2 changes: 2 additions & 0 deletions devops/build/build-single.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cd ../../src/%1
dotnet build %1.csproj -c Release
14 changes: 14 additions & 0 deletions devops/deploy/deploy-all.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
rem TODO: Use common source for all version instances
SET version=2.4.1
rem TODO: Refactor using loop and automatic discovery
call deploy-single.bat LogoFX.Client.Testing.Contracts %version%
call deploy-single.bat LogoFX.Client.Testing.Shared %version%
call deploy-single.bat LogoFX.Client.Testing.Shared.Caliburn.Micro %version%
call deploy-single.bat LogoFX.Client.Testing.EndToEnd %version%
call deploy-single.bat LogoFX.Client.Testing.EndToEnd.FlaUI %version%
call deploy-single.bat LogoFX.Client.Testing.EndToEnd.White %version%
call deploy-single.bat LogoFX.Client.Testing.EndToEnd.SpecFlow %version%
call deploy-single.bat LogoFX.Client.Testing.Integration %version%
call deploy-single.bat LogoFX.Client.Testing.Integration.NUnit %version%
call deploy-single.bat LogoFX.Client.Testing.Integration.xUnit %version%
call deploy-single.bat LogoFX.Client.Testing.Integration.SpecFlow %version%
3 changes: 3 additions & 0 deletions devops/deploy/deploy-single.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
cd ../../output
nuget push %1.%2.nupkg -Source https://api.nuget.org/v3/index.json
cd ../devops/deploy
5 changes: 5 additions & 0 deletions devops/install/uninstall-global-all.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
SET package_version=%1
for /d %%d in (../pack/*.*) do (
echo %%d
call uninstall-global-single.bat %%d %package_version%
)
10 changes: 10 additions & 0 deletions devops/install/uninstall-global-single.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
rem provide more generic way for drives case
SET current_dir=%cd%
echo %current_dir%
SET package_name=%1
SET package_version=%2
cd %UserProfile%/.nuget/packages/%package_name%
C:
rmdir /Q /S %package_version%
cd %current_dir%
Y:
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
<metadata>
<id>LogoFX.Client.Testing.EndToEnd.FlaUI</id>
<version>2.2.2</version>
<title>LogoFX.Client.Testing.EndToEnd.FlaUI</title>
<authors>Gennady Verdel</authors>
<owners>Gennady Verdel</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<licenseUrl>https://github.com/LogoFX/logofx-client-testing-e2e-flaui/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/LogoFX/logofx-client-testing-e2e-flaui</projectUrl>
<iconUrl>https://github.com/LogoFX/logofx-assets/blob/master/icons/icon.png?raw=true</iconUrl>
<description>LogoFX Client Testing EndToEnd FlaUI containing implementation of Application Facade using FlaUI.</description>
<summary>LogoFX Client Testing EndToEnd FlaUI containing implementation of Application Facade using FlaUI.</summary>
<releaseNotes>Initial release</releaseNotes>
<dependencies>
<dependency id="Attest.Testing.Contracts" version="2.4.1" />
<dependency id="FlaUI.Core" version="3.0.0" />
</dependencies>
<tags>framework logofx dotnet</tags>
<repository type="Open Source" url="https://github.com/LogoFX/logofx-client-testing-e2e-flaui" />
</metadata>
</package>
8 changes: 8 additions & 0 deletions devops/pack/LogoFX.Client.Testing.EndToEnd.FlaUI/pack.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
cd contents
rmdir /Q /S lib
mkdir lib
cd lib
mkdir netstandard2.0\
robocopy ../../../../../src/Bin/netstandard/Release netstandard2.0 LogoFX.Client.Testing.EndToEnd.FlaUI.* /E
cd ../../
nuget pack contents/LogoFX.Client.Testing.EndToEnd.FlaUI.nuspec -OutputDirectory ../../../output
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
<metadata>
<id>LogoFX.Client.Testing.EndToEnd.SpecFlow</id>
<version>2.2.2</version>
<title>LogoFX.Client.Testing.EndToEnd.SpecFlow</title>
<authors>Gennady Verdel</authors>
<owners>Gennady Verdel</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<licenseUrl>https://github.com/LogoFX/logofx-client-testing-e2e-specflow/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/LogoFX/logofx-client-testing-e2e-specflow</projectUrl>
<iconUrl>https://github.com/LogoFX/logofx-assets/blob/master/icons/icon.png?raw=true</iconUrl>
<description>LogoFX Client Tests SpecFlow containing base class for SpecFlow bridge.</description>
<summary>LogoFX Client Tests SpecFlow containing base class for SpecFlow bridge.</summary>
<releaseNotes>Added support for scenario data store.</releaseNotes>
<dependencies>
<dependency id="Attest.Testing.Contracts" version="2.4.1" />
<dependency id="Attest.Tests.Core" version="2.4.1" />
<dependency id="Attest.Tests.SpecFlow" version="2.4.1" />
</dependencies>
<tags>framework logofx dotnet</tags>
<repository type="Open Source" url="https://github.com/LogoFX/logofx-client-testing-e2e-specflow" />
</metadata>
</package>
8 changes: 8 additions & 0 deletions devops/pack/LogoFX.Client.Testing.EndToEnd.SpecFlow/pack.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
cd contents
rmdir /Q /S lib
mkdir lib
cd lib
mkdir netstandard2.0\
robocopy ../../../../../src/Bin/netstandard/Release netstandard2.0 LogoFX.Client.Testing.EndToEnd.SpecFlow.* /E
cd ../../
nuget pack contents/LogoFX.Client.Testing.EndToEnd.SpecFlow.nuspec -OutputDirectory ../../../output
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
<metadata>
<id>LogoFX.Client.Testing.EndToEnd.White</id>
<version>2.2.2</version>
<title>LogoFX.Client.Testing.EndToEnd.White</title>
<authors>Gennady Verdel</authors>
<owners>Gennady Verdel</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<licenseUrl>https://github.com/LogoFX/logofx-client-testing-e2e-white/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/LogoFX/logofx-client-testing-e2e-white</projectUrl>
<iconUrl>https://github.com/LogoFX/logofx-assets/blob/master/icons/icon.png?raw=true</iconUrl>
<description>LogoFX Client Testing EndToEnd White containing implementation of Application Facade using TestStack.White.</description>
<summary>LogoFX Client Testing EndToEnd White containing implementation of Application Facade using TestStack.White.</summary>
<releaseNotes>
</releaseNotes>
<dependencies>
<dependency id="Attest.Testing.Contracts" version="2.4.1" />
<dependency id="TestStack.White" version="0.13.3" />
</dependencies>
<tags>framework logofx dotnet</tags>
<repository type="Open Source" url="https://github.com/LogoFX/logofx-client-testing-e2e-white" />
</metadata>
</package>
15 changes: 15 additions & 0 deletions devops/pack/LogoFX.Client.Testing.EndToEnd.White/pack.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
cd contents
rmdir /Q /S lib
mkdir lib
cd lib
mkdir net461\
robocopy ../../../../../src/Bin/netframework/Release net461 LogoFX.Client.Testing.EndToEnd.White.* /E
mkdir net5.0
robocopy ../../../../../src/Bin/net/Release net5.0 LogoFX.Client.Testing.EndToEnd.White.* /E
cd net5.0
rmdir /Q /S ref
cd ..
mkdir netcoreapp3.1
robocopy ../../../../../src/Bin/netcore/Release netcoreapp3.1 LogoFX.Client.Testing.EndToEnd.White.* /E
cd ../../
nuget pack contents/LogoFX.Client.Testing.EndToEnd.White.nuspec -OutputDirectory ../../../output
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
<metadata>
<id>LogoFX.Client.Testing.Integration.xUnit</id>
<version>2.2.2</version>
<title>LogoFX.Client.Testing.Integration.xUnit</title>
<authors>Gennady Verdel</authors>
<owners>Gennady Verdel</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<licenseUrl>https://github.com/LogoFX/logofx-client-testing-integration-xunit/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/LogoFX/logofx-client-testing-integration-xunit</projectUrl>
<iconUrl>https://github.com/LogoFX/logofx-assets/blob/master/icons/icon.png?raw=true</iconUrl>
<description>LogoFX Client Tests Integration xUnit containing implementation of Builder Registration Service for xUnit
and base class for unit and integration tests.</description>
<summary>LogoFX Client Tests Integration xUnit containing implementation of Builder Registration Service for xUnit
and base class for unit and integration tests.</summary>
<releaseNotes>Added support for key value data store.</releaseNotes>
<dependencies>
<dependency id="Solid.Core" version="2.3.2" />
<dependency id="Solid.Patterns.Builder" version="2.3.2" />
<dependency id="Attest.Testing.Contracts" version="2.4.1" />
<dependency id="Attest.Tests.Core" version="2.4.1" />
<dependency id="Attest.Tests.xUnit" version="2.4.1" />
<dependency id="LogoFX.Client.Tests.Shared" version="2.2.2" />
</dependencies>
<tags>framework logofx dotnet</tags>
<repository type="Open Source" url="https://github.com/LogoFX/logofx-client-testing-integration-xunit" />
</metadata>
</package>
8 changes: 8 additions & 0 deletions devops/pack/LogoFX.Client.Testing.Integration.xUnit/pack.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
cd contents
rmdir /Q /S lib
mkdir lib
cd lib
mkdir netstandard2.0\
robocopy ../../../../../src/Bin/netstandard/Release netstandard2.0 LogoFX.Client.Testing.Integration.xUnit.* /E
cd ../../
nuget pack contents/LogoFX.Client.Testing.Integration.xUnit.nuspec -OutputDirectory ../../../output
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
<metadata>
<id>LogoFX.Client.Tests.Contracts</id>
<version>2.2.2</version>
<title>LogoFX.Client.Testing.Contracts</title>
<authors>Gennady Verdel</authors>
<owners>Gennady Verdel</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<licenseUrl>https://github.com/LogoFX/logofx-client-testing-contracts/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/LogoFX/logofx-client-testing-contracts</projectUrl>
<iconUrl>https://github.com/LogoFX/logofx-assets/blob/master/icons/icon.png?raw=true</iconUrl>
<description>LogoFX Client Testing Contracts containing contracts for the following Test Services:
Start Client Application Service - used to start the client application.</description>
<summary>LogoFX Client Testing Contracts containing contracts for Client Test Services.</summary>
<releaseNotes>
</releaseNotes>
<tags>framework logofx dotnet</tags>
<repository type="Open Source" url="https://github.com/LogoFX/logofx-client-testing-contracts" />
</metadata>
</package>
8 changes: 8 additions & 0 deletions devops/pack/LogoFX.Client.Tests.Contracts/pack.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
cd contents
rmdir /Q /S lib
mkdir lib
cd lib
mkdir netstandard2.0\
robocopy ../../../../../src/Bin/netstandard/Release netstandard2.0 LogoFX.Client.Testing.Contracts.* /E
cd ../../
nuget pack contents/LogoFX.Client.Tests.Contracts.nuspec -OutputDirectory ../../../output
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
<metadata>
<id>LogoFX.Client.Tests.EndToEnd</id>
<version>2.2.2</version>
<title>LogoFX.Client.Testing.EndToEnd</title>
<authors>Gennady Verdel</authors>
<owners>Gennady Verdel</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<licenseUrl>https://github.com/LogoFX/logofx-client-testing-e2e/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/LogoFX/logofx-client-testing-e2e</projectUrl>
<iconUrl>https://github.com/LogoFX/logofx-assets/blob/master/icons/icon.png?raw=true</iconUrl>
<description>LogoFX Client Testing EndToEnd containing implementations for Client Tests Services Abstractions for client end-to-end tests.</description>
<summary>LogoFX Client Testing EndToEnd containing implementations for Client Tests Services Abstractions for client end-to-end tests.</summary>
<releaseNotes>
</releaseNotes>
<dependencies>
<dependency id="Attest.Testing.Contracts" version="2.4.1" />
<dependency id="LogoFX.Client.Tests.Contracts" version="2.2.2" />
</dependencies>
<tags>framework logofx dotnet</tags>
<repository type="Open Source" url="https://github.com/LogoFX/logofx-client-testing-e2e" />
</metadata>
</package>
8 changes: 8 additions & 0 deletions devops/pack/LogoFX.Client.Tests.EndToEnd/pack.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
cd contents
rmdir /Q /S lib
mkdir lib
cd lib
mkdir netstandard2.0\
robocopy ../../../../../src/Bin/netstandard/Release netstandard2.0 LogoFX.Client.Testing.EndToEnd.* /E
cd ../../
nuget pack contents/LogoFX.Client.Tests.EndToEnd.nuspec -OutputDirectory ../../../output
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
<metadata>
<id>LogoFX.Client.Tests.Integration.NUnit</id>
<version>2.2.2</version>
<title>LogoFX.Client.Testing.Integration.NUnit</title>
<authors>Gennady Verdel</authors>
<owners>Gennady Verdel</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<licenseUrl>https://github.com/LogoFX/logofx-client-testing-integration-nunit/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/LogoFX/logofx-client-testing-integration-nunit</projectUrl>
<iconUrl>https://github.com/LogoFX/logofx-assets/blob/master/icons/icon.png?raw=true</iconUrl>
<description>LogoFX Client Testing Integration NUnit containing base class for unit and integration tests which are based on NUnit.</description>
<summary>LogoFX Client Testing Integration NUnit containing base class for unit and integration tests which are based on NUnit.</summary>
<releaseNotes>Added support for dependency registrator and resolver.</releaseNotes>
<dependencies>
<dependency id="Solid.Core" version="2.3.2" />
<dependency id="Solid.Patterns.Builder" version="2.3.2" />
<dependency id="Attest.Testing.Contracts" version="2.4.1" />
<dependency id="Attest.Tests.Core" version="2.4.1" />
<dependency id="Attest.Tests.NUnit" version="2.4.1" />
<dependency id="LogoFX.Client.Tests.Shared" version="2.2.2" />
</dependencies>
</metadata>
</package>
8 changes: 8 additions & 0 deletions devops/pack/LogoFX.Client.Tests.Integration.NUnit/pack.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
cd contents
rmdir /Q /S lib
mkdir lib
cd lib
mkdir netstandard2.0\
robocopy ../../../../../src/Bin/netstandard/Release netstandard2.0 LogoFX.Client.Testing.Integration.NUnit.* /E
cd ../../
nuget pack contents/LogoFX.Client.Tests.Integration.NUnit.nuspec -OutputDirectory ../../../output
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
<metadata>
<id>LogoFX.Client.Tests.Integration.SpecFlow</id>
<version>2.2.2</version>
<title>LogoFX.Client.Testing.Integration.SpecFlow</title>
<authors>Gennady Verdel</authors>
<owners>Gennady Verdel</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<licenseUrl>https://github.com/LogoFX/logofx-client-testing-integration-specflow/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/LogoFX/logofx-client-testing-integration-specflow</projectUrl>
<iconUrl>https://github.com/LogoFX/logofx-assets/blob/master/icons/icon.png?raw=true</iconUrl>
<description>LogoFX Client Testing Integration SpecFlow containing base class for unit and integration tests which are based on SpecFlow.</description>
<summary>LogoFX Client Testing Integration SpecFlow containing base class for unit and integration tests which are based on SpecFlow.</summary>
<releaseNotes>Added support for parallel run via scenario context.</releaseNotes>
<dependencies>
<dependency id="Solid.Practices.IoC" version="2.3.2" />
<dependency id="Solid.Patterns.Builder" version="2.3.2" />
<dependency id="Solid.Core" version="2.3.2" />
<dependency id="Attest.Testing.Contracts" version="2.4.1" />
<dependency id="Attest.Tests.Core" version="2.4.1" />
<dependency id="Attest.Tests.SpecFlow" version="2.4.1" />
<dependency id="LogoFX.Client.Tests.Shared" version="2.2.2" />
</dependencies>
<tags>framework logofx dotnet</tags>
<repository type="Open Source" url="https://github.com/LogoFX/logofx-client-testing-integration-specflow" />
</metadata>
</package>
8 changes: 8 additions & 0 deletions devops/pack/LogoFX.Client.Tests.Integration.SpecFlow/pack.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
cd contents
rmdir /Q /S lib
mkdir lib
cd lib
mkdir netstandard2.0\
robocopy ../../../../../src/Bin/netstandard/Release netstandard2.0 LogoFX.Client.Testing.Integration.SpecFlow.* /E
cd ../../
nuget pack contents/LogoFX.Client.Tests.Integration.SpecFlow.nuspec -OutputDirectory ../../../output
Loading

0 comments on commit 887e53e

Please sign in to comment.