Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a JUnit subproject #573

Merged
merged 25 commits into from
May 26, 2024
Merged

Add a JUnit subproject #573

merged 25 commits into from
May 26, 2024

Conversation

Matyrobbrt
Copy link
Member

This subproject provides JUnit-specific utilities, like an ephemeral server.
Depends on neoforged/FancyModLoader#54 and neoforged/NeoGradle#107

@Matyrobbrt Matyrobbrt added enhancement New (or improvement to existing) feature or request 1.20 Targeted at Minecraft 1.20 labels Jan 24, 2024
@Matyrobbrt Matyrobbrt marked this pull request as draft January 24, 2024 16:39
@neoforged-pr-publishing
Copy link

neoforged-pr-publishing bot commented Jan 24, 2024

  • Publish PR to GitHub Packages

Last commit published: 033bfc15116c652356a25077234a74e2ebe3618b.

PR Publishing

The artifacts published by this PR:

Repository Declaration

In order to use the artifacts published by the PR, add the following repository to your buildscript:

repositories {
    maven {
        name 'Maven for PR #573' // https://github.com/neoforged/NeoForge/pull/573
        url 'https://prmaven.neoforged.net/NeoForge/pr573'
        content {
            includeModule('net.neoforged', 'testframework')
            includeModule('net.neoforged', 'neoforge')
        }
    }
}

MDK installation

In order to setup a MDK using the latest PR version, run the following commands in a terminal.
The script works on both *nix and Windows as long as you have the JDK bin folder on the path.
The script will clone the MDK in a folder named NeoForge-pr573.
On Powershell you will need to remove the -L flag from the curl invocation.

mkdir NeoForge-pr573
cd NeoForge-pr573
curl -L https://prmaven.neoforged.net/NeoForge/pr573/net/neoforged/neoforge/20.6.109-beta-pr-573-junit/mdk-pr573.zip -o mdk.zip
jar xf mdk.zip
rm mdk.zip || del mdk.zip

To test a production environment, you can download the installer from here.

@Matyrobbrt Matyrobbrt marked this pull request as ready for review May 26, 2024 11:57
@Matyrobbrt Matyrobbrt added 1.20.6 Targeted at Minecraft 1.20.6 and removed 1.20 Targeted at Minecraft 1.20 labels May 26, 2024
.github/workflows/build-prs.yml Outdated Show resolved Hide resolved
build.gradle Outdated Show resolved Hide resolved
testframework/build.gradle Outdated Show resolved Hide resolved
@Matyrobbrt Matyrobbrt requested a review from sciwhiz12 May 26, 2024 15:33
@Matyrobbrt Matyrobbrt removed the request for review from Technici4n May 26, 2024 15:45
@Matyrobbrt Matyrobbrt merged commit b344310 into neoforged:1.20.x May 26, 2024
4 checks passed
@Matyrobbrt Matyrobbrt deleted the junit branch May 26, 2024 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.20.6 Targeted at Minecraft 1.20.6 enhancement New (or improvement to existing) feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants