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

Include the test module in the tested mod when running tests through IntelliJ #25

Merged
merged 2 commits into from
Jun 15, 2024

Conversation

shartte
Copy link
Collaborator

@shartte shartte commented Jun 15, 2024

We include the test source set by default in the Gradle output directories and should do the same for IJ.

@neoforged-pr-publishing
Copy link

neoforged-pr-publishing bot commented Jun 15, 2024

  • Publish PR to GitHub Packages

Last commit published: 18b6bdae86e5606698722ecece562464f41be178.

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 #25' // https://github.com/neoforged/ModDevGradle/pull/25
        url 'https://prmaven.neoforged.net/ModDevGradle/pr25'
        content {
            includeModule('net.neoforged.moddev', 'net.neoforged.moddev.gradle.plugin')
            includeModule('net.neoforged', 'moddev-gradle')
        }
    }
}

@shartte shartte changed the title Fix executing IJ tests in simple cases Include the test module in the loaded mods when running tests through IntelliJ Jun 15, 2024
@shartte shartte changed the title Include the test module in the loaded mods when running tests through IntelliJ Include the test module in the tested mod when running tests through IntelliJ Jun 15, 2024
@shartte shartte merged commit 7a5aaee into main Jun 15, 2024
4 checks passed
@shartte shartte deleted the fix-ij-test-execution branch June 15, 2024 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants