MVN

us.blanshard.stubout : stubout

Maven & Gradle

Mar 26, 2007

StubOut · An extension to JUnit that lets you stub out classes that don't pertain to your tests. This is especially useful for dealing with legacy code that wasn't written to be easily testable.

<dependency>
    <groupId>us.blanshard.stubout</groupId>
    <artifactId>stubout</artifactId>
    <version>1.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of us.blanshard.stubout : stubout to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 1.0

All Versions

Choose a version of us.blanshard.stubout : stubout to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
1.0
stubout-1.0

How to add a dependency to Maven

Add the following us.blanshard.stubout : stubout maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>us.blanshard.stubout</groupId>
    <artifactId>stubout</artifactId>
    <version>1.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following us.blanshard.stubout : stubout gradle dependency to your build.gradle file:

implementation 'us.blanshard.stubout:stubout:1.0'

Gradle Kotlin DSL: Add the following us.blanshard.stubout : stubout gradle kotlin dependency to your build.gradle.kts file:

implementation("us.blanshard.stubout:stubout:1.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following us.blanshard.stubout : stubout sbt scala dependency to your build.sbt file:

libraryDependencies += "us.blanshard.stubout" % "stubout" % "1.0"