All Projects → Itiviti → gradle-nunit-plugin

Itiviti / gradle-nunit-plugin

Licence: Apache-2.0 License
A gradle plugin for launching NUnit tests

Programming Languages

groovy
2714 projects

Projects that are alternatives of or similar to gradle-nunit-plugin

Waveshare.EPaperDisplay
.Net Core Library to show images on Waveshare E-Paper Displays
Stars: ✭ 17 (+0%)
Mutual labels:  nunit
tmdb-api
This Kotlin Multiplatform library is for accessing the TMDB API to get movie and TV show content. Using for Android, iOS, and JS projects.
Stars: ✭ 31 (+82.35%)
Mutual labels:  gradle
MicroServiceExample
针对微服务的各种例子实现
Stars: ✭ 25 (+47.06%)
Mutual labels:  gradle
MetaWear-SDK-Cpp
MetaWear C++ SDK - Platform Agnostic - Main lib - No Bluetooth
Stars: ✭ 42 (+147.06%)
Mutual labels:  msbuild
android-easy-gcm
Use this library to add GCM to your project, only in a few minutes !
Stars: ✭ 50 (+194.12%)
Mutual labels:  gradle
heroku-buildpack-gradle
This is a Heroku buildpack for Gradle apps. It uses Gradle to build your application and OpenJDK to run it.
Stars: ✭ 58 (+241.18%)
Mutual labels:  gradle
gradle-msbuild-plugin
Gradle plugin for msbuild execution, supports C# project files for now
Stars: ✭ 101 (+494.12%)
Mutual labels:  msbuild
karibu10-helloworld-application
Karibu-DSL HelloWorld application in Vaadin 14
Stars: ✭ 14 (-17.65%)
Mutual labels:  gradle
vlsi-release-plugins
A set of plugins to simplify Gradle release tasks
Stars: ✭ 30 (+76.47%)
Mutual labels:  gradle
sphinx-gradle-plugin
Sphinx site generation plugin for Gradle
Stars: ✭ 19 (+11.76%)
Mutual labels:  gradle
Teronis.DotNet
This project contains utilities, extensions and new functionalities of all types.
Stars: ✭ 24 (+41.18%)
Mutual labels:  msbuild
nexus-publish-plugin
⚠️ Deprecated - please switch to https://github.com/gradle-nexus/publish-plugin
Stars: ✭ 38 (+123.53%)
Mutual labels:  gradle
microframeworks-showcase
A simple grocery list webapplication implemented with the Microframeworks Spark Java, Jodd, Ninja, Javalite, Pippo and Ratpack
Stars: ✭ 29 (+70.59%)
Mutual labels:  gradle
Uno.CodeGen
A set of source generators for equality, immutability, ...
Stars: ✭ 85 (+400%)
Mutual labels:  msbuild
EmbeddedTools
Additions to the model-based DSL for deploying Java and Native projects to remote targets
Stars: ✭ 14 (-17.65%)
Mutual labels:  gradle
Xamarin.Legacy.Sdk
Starting from a .NET 6 project, adds the ability to target legacy Xamarin target frameworks such as monoandroid11.0 or xamarin.ios10. *Not fully supported*
Stars: ✭ 18 (+5.88%)
Mutual labels:  msbuild
gradle-cleaner-intellij-plugin
Force clear delaying & no longer needed Gradle tasks.
Stars: ✭ 26 (+52.94%)
Mutual labels:  gradle
DexHelper
Gradle Plugin to analyze per-dex with Android assemble command.
Stars: ✭ 19 (+11.76%)
Mutual labels:  gradle
Zucker
An easier way to automatically calculate the size of AAR in apk based on APP module
Stars: ✭ 76 (+347.06%)
Mutual labels:  gradle
MultiLamp
Android library to showcase/highlight the multiple views on same overlay
Stars: ✭ 235 (+1282.35%)
Mutual labels:  gradle

gradle-nunit-plugin Build status Build Status

A gradle plugin for launching NUnit tests

It is compatible with the new plugin mechanism and can be used with:

plugins {
  id 'com.ullink.nunit' version '1.12'
}

Or, when using Gradle lower than 2.1:

buildscript {
    repositories {
      mavenCentral()
    }

    dependencies {
        classpath "com.ullink.gradle:gradle-nunit-plugin:1.12"
    }
}

It creates a task 'nunit' that may be configured as follows:

nunit {
    // optional - defaults to '3.10.0', but plugin is compatible with v3+ as well
    // for compatibility reason, nunitVersion should be set (if needed) before applying version specific parameters
    nunitVersion
    // optional - defaults to 'https://github.com/nunit/nunit-console/releases/download'
    nunitDownloadUrl
    // optional - defaults to NUNIT_HOME env variable if set or to a downloaded version of NUnit fitting the
    // specified nunitVersion
    nunitHome
    // mandatory - the assemblies containing the tests to be run
    testAssemblies
    // optional - the output location of the nunit test report, defaults to 'build\nunit\reports'
    reportFolder = file('some/where/')
    // optional - the file name of the nunit test report, defaults to 'TestResult.xml'
    reportFileName = 'foo.xml'
    // optional - if set, specifies the /trace argument of nunit-console
    verbosity
    // optional - defaults to FALSE and determines whether tests should run in x86 mode
    useX86
    // optional - defaults to FALSE and termines the behavior of the task if the nunit-console.exe program exits
    // abnormally
    ignoreFailures = false
    // optional - specify whether to write test case names to the output
    labels = 'Off|On|All'
    // optional - defaults to true, specifies whether nunit should run in parallel or sequential. This needs to be coordinated with the `where` flag
    parallelForks

    // Mapped NUnit-Console Command Line Options
    exclude = 'Database'
    include = 'BaseLine'
    // for NUnit v3+, use _where_ option instead of include/exclude:
    where = [ 'cat == CustomCategory' ]

    framework = 'net-1.1'
    shadowCopy = true
    // redirect output to file
    logFile = 'TestOutput.log'

    // for NUnit v3+
    resultFormat = 'nunit2'

    // environment variables map (already defined)
    env = [:]

    // optional - if set, can overwrite the default command arguments in order to allow running of external tools like dotMemoryUnit
    nunitCommandModifier = { nunitBin, args -> [nunitBin, *args] }
}

License

All these plugins are licensed under the Apache License, Version 2.0 with no warranty (expressed or implied) for any purpose.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].