Search Gradle plugins

io.github.DiLilloDaniele.gradle-python-testing

Plugin developed aiming at the automation of the testing process in a Python project. This plugin includes the possibility to specify the src and test folders of the project and perform tests and coverage using all the Python libraries (unittest and coverage modules). It is also supported to use Phython virtual environments.

https://github.com/DiLilloDaniele/gradle-python-testing

Sources: https://github.com/DiLilloDaniele/gradle-python-testing.git

Version 1.4.4 (latest)

Created 30 May 2023.

Plugin developed aiming at the automation of the testing process in a Python project. This plugin includes the possibility to specify the src and test folders of the project and perform tests and coverage using all the Python libraries (unittest and coverage modules). It is also supported to use Phython virtual environments.

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.github.DiLilloDaniele.gradle-python-testing") version "1.4.4"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("io.github.DiLilloDaniele.gradle-python-testing:io.github.DiLilloDaniele.gradle-python-testing.gradle.plugin:1.4.4")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("io.github.DiLilloDaniele.gradle-python-testing")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.github.DiLilloDaniele.gradle-python-testing:io.github.DiLilloDaniele.gradle-python-testing.gradle.plugin:1.4.4")
      }
    }
    
    apply(plugin = "io.github.DiLilloDaniele.gradle-python-testing")
  • Applying plugins to all subprojects .