Skip to content

Switch to TUnit, MTP, local GitHub workflow - #986

Merged
Tyrrrz merged 1 commit into
primefrom
fuck-xunit
Dec 2, 2026
Merged

Tyrrrz merged 1 commit into
primefrom
fuck-xunit

Conversation

@Tyrrrz

@Tyrrrz Tyrrrz commented Dec 2, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI balanced review requested due to automatic review settings December 2, 2026 20:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Nullable test-context dereferences fail the warnings-as-errors build, while unsafe version and tag interpolation enables shell command injection in packaging and release jobs.

3 open issues
What changed in this PR

Migrates both test suites from xUnit to TUnit and Microsoft.Testing.Platform, and replaces the shared CI workflow with repository-local jobs.

Changes:

  • Updates test attributes, setup hooks, and diagnostic output.
  • Replaces test dependencies and removes xUnit runner configuration.
  • Adds local formatting, testing, packaging, publishing, and notification jobs; CI tests remain disabled.
File Description
YoutubeExplode.Tests/​YoutubeExplode.Tests.csproj Configures executable TUnit tests.
YoutubeExplode.Tests/​xunit.runner.json Removes obsolete runner settings.
YoutubeExplode.Tests/​VideoSpecs.cs Migrates video tests and output.
YoutubeExplode.Tests/​VideoIdSpecs.cs Migrates video ID test cases.
YoutubeExplode.Tests/​UserNameSpecs.cs Migrates username test cases.
YoutubeExplode.Tests/​StreamSpecs.cs Migrates stream tests, skips, and output.
YoutubeExplode.Tests/​SearchSpecs.cs Migrates search test attributes.
YoutubeExplode.Tests/​PlaylistSpecs.cs Migrates playlist tests and output.
YoutubeExplode.Tests/​PlaylistIdSpecs.cs Migrates playlist ID test cases.
YoutubeExplode.Tests/​ClosedCaptionSpecs.cs Migrates caption test attributes.
YoutubeExplode.Tests/​ChannelSpecs.cs Migrates channel test cases.
YoutubeExplode.Tests/​ChannelSlugSpecs.cs Migrates channel slug test cases.
YoutubeExplode.Tests/​ChannelIdSpecs.cs Migrates channel ID test cases.
YoutubeExplode.Tests/​ChannelHandleSpecs.cs Migrates channel handle test cases.
YoutubeExplode.Converter.Tests/​YoutubeExplode.Converter.Tests.csproj Configures executable TUnit tests.
YoutubeExplode.Converter.Tests/​xunit.runner.json Removes obsolete runner settings.
YoutubeExplode.Converter.Tests/​Utils/​FFmpeg.cs Fully qualifies the reflection assembly reference.
YoutubeExplode.Converter.Tests/​SubtitleSpecs.cs Migrates subtitle tests and setup hooks.
YoutubeExplode.Converter.Tests/​GeneralSpecs.cs Migrates conversion tests, setup, and output.
YoutubeExplode.Converter.Tests/​EnvironmentSpecs.cs Migrates environment tests, setup, and output.
global.json Selects Microsoft.Testing.Platform.
Directory.Packages.props Replaces xUnit dependencies with TUnit.
.github/​workflows/​main.yml Defines repository-local CI and release jobs.

Review effort: Balanced

Comment thread .github/workflows/main.yml Resolved
Comment thread .github/workflows/main.yml Resolved
@Tyrrrz
Tyrrrz merged commit b7ce6ca into prime Dec 2, 2026
8 checks passed
@Tyrrrz
Tyrrrz deleted the fuck-xunit branch December 2, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants