[PR #77] [MERGED] Add deployment unit test #220

Closed
opened 2026-01-29 16:31:20 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/quamotion/dotnet-packaging/pull/77
Author: @qmfrederik
Created: 9/4/2018
Status: Merged
Merged: 9/5/2018
Merged by: @qmfrederik

Base: masterHead: fixes/more-tests


📝 Commits (5)

  • 3e0cae1 Run unit tests to verify deployment
  • ad07916 Consolidate on .NET Core 2.1
  • f5ca78c Copy config files to publish directory
  • fd72d9d Build netcoreapp2.1
  • 38f2c49 Don't fail when AssemblyRunner.Dispose throws

📊 Changes

18 files changed (+228 additions, -16 deletions)

View changed files

📝 .travis.yml (+2 -2)
📝 appveyor.yml (+2 -2)
📝 demo/aspnetcore/demo.csproj (+2 -2)
📝 demo/cliscd/Program.cs (+78 -2)
demo/cliscd/Tests.cs (+45 -0)
📝 demo/cliscd/centos.7-x64/reference.txt (+7 -0)
📝 demo/cliscd/cliscd.csproj (+23 -8)
📝 demo/cliscd/cliscd.machine.config (+3 -0)
📝 demo/cliscd/cliscd.user.config (+3 -0)
📝 demo/cliscd/debian.8-x64/reference.txt (+7 -0)
📝 demo/cliscd/debian.9-x64/reference.txt (+7 -0)
📝 demo/cliscd/fedora.27-x64/reference.txt (+7 -0)
📝 demo/cliscd/fedora.28-x64/reference.txt (+7 -0)
📝 demo/cliscd/ol.7-x64/reference.txt (+7 -0)
📝 demo/cliscd/opensuse.42.3-x64/reference.txt (+7 -0)
📝 demo/cliscd/ubuntu.14.04-x64/reference.txt (+7 -0)
📝 demo/cliscd/ubuntu.16.04-x64/reference.txt (+7 -0)
📝 demo/cliscd/ubuntu.18.04-x64/reference.txt (+7 -0)

📄 Description

This PR updates the cliscd app so that it runs xUnit tests when the app starts.

These tests are used to verify the app has been installed/deployed correct. This includes:

  • Testing the Linux user which should have been created
  • Testing the files which should have been deployed to non-standard locations

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/quamotion/dotnet-packaging/pull/77 **Author:** [@qmfrederik](https://github.com/qmfrederik) **Created:** 9/4/2018 **Status:** ✅ Merged **Merged:** 9/5/2018 **Merged by:** [@qmfrederik](https://github.com/qmfrederik) **Base:** `master` ← **Head:** `fixes/more-tests` --- ### 📝 Commits (5) - [`3e0cae1`](https://github.com/quamotion/dotnet-packaging/commit/3e0cae197a735e7ae84699b695b719d20cb064c6) Run unit tests to verify deployment - [`ad07916`](https://github.com/quamotion/dotnet-packaging/commit/ad079168e42d6386986d86efeb08aec6093b18ef) Consolidate on .NET Core 2.1 - [`f5ca78c`](https://github.com/quamotion/dotnet-packaging/commit/f5ca78c04b45454b3c3911024b414b2ea1aeb7f4) Copy config files to publish directory - [`fd72d9d`](https://github.com/quamotion/dotnet-packaging/commit/fd72d9d5cf81aecf31f66bb47366062b997a26e3) Build netcoreapp2.1 - [`38f2c49`](https://github.com/quamotion/dotnet-packaging/commit/38f2c493e925bec038aae73e6ad02a323996d88b) Don't fail when AssemblyRunner.Dispose throws ### 📊 Changes **18 files changed** (+228 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `.travis.yml` (+2 -2) 📝 `appveyor.yml` (+2 -2) 📝 `demo/aspnetcore/demo.csproj` (+2 -2) 📝 `demo/cliscd/Program.cs` (+78 -2) ➕ `demo/cliscd/Tests.cs` (+45 -0) 📝 `demo/cliscd/centos.7-x64/reference.txt` (+7 -0) 📝 `demo/cliscd/cliscd.csproj` (+23 -8) 📝 `demo/cliscd/cliscd.machine.config` (+3 -0) 📝 `demo/cliscd/cliscd.user.config` (+3 -0) 📝 `demo/cliscd/debian.8-x64/reference.txt` (+7 -0) 📝 `demo/cliscd/debian.9-x64/reference.txt` (+7 -0) 📝 `demo/cliscd/fedora.27-x64/reference.txt` (+7 -0) 📝 `demo/cliscd/fedora.28-x64/reference.txt` (+7 -0) 📝 `demo/cliscd/ol.7-x64/reference.txt` (+7 -0) 📝 `demo/cliscd/opensuse.42.3-x64/reference.txt` (+7 -0) 📝 `demo/cliscd/ubuntu.14.04-x64/reference.txt` (+7 -0) 📝 `demo/cliscd/ubuntu.16.04-x64/reference.txt` (+7 -0) 📝 `demo/cliscd/ubuntu.18.04-x64/reference.txt` (+7 -0) </details> ### 📄 Description This PR updates the `cliscd` app so that it runs xUnit tests when the app starts. These tests are used to verify the app has been installed/deployed correct. This includes: - Testing the Linux user which should have been created - Testing the files which should have been deployed to non-standard locations --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 16:31:20 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dotnet-packaging#220