zio-test-intellij


License

License

Categories

Categories

IntelliJ IDEA Development Tools IDE
GroupId

GroupId

dev.zio
ArtifactId

ArtifactId

zio-test-intellij_sjs0.6_2.13
Last Version

Last Version

1.0.3
Release Date

Release Date

Type

Type

jar
Description

Description

zio-test-intellij
zio-test-intellij
Project URL

Project URL

https://github.com/zio/zio-intellij
Project Organization

Project Organization

dev.zio
Source Code Management

Source Code Management

https://github.com/zio/zio-test-intellij/

Download zio-test-intellij_sjs0.6_2.13

How to add to project

<!-- https://jarcasting.com/artifacts/dev.zio/zio-test-intellij_sjs0.6_2.13/ -->
<dependency>
    <groupId>dev.zio</groupId>
    <artifactId>zio-test-intellij_sjs0.6_2.13</artifactId>
    <version>1.0.3</version>
</dependency>
// https://jarcasting.com/artifacts/dev.zio/zio-test-intellij_sjs0.6_2.13/
implementation 'dev.zio:zio-test-intellij_sjs0.6_2.13:1.0.3'
// https://jarcasting.com/artifacts/dev.zio/zio-test-intellij_sjs0.6_2.13/
implementation ("dev.zio:zio-test-intellij_sjs0.6_2.13:1.0.3")
'dev.zio:zio-test-intellij_sjs0.6_2.13:jar:1.0.3'
<dependency org="dev.zio" name="zio-test-intellij_sjs0.6_2.13" rev="1.0.3">
  <artifact name="zio-test-intellij_sjs0.6_2.13" type="jar" />
</dependency>
@Grapes(
@Grab(group='dev.zio', module='zio-test-intellij_sjs0.6_2.13', version='1.0.3')
)
libraryDependencies += "dev.zio" % "zio-test-intellij_sjs0.6_2.13" % "1.0.3"
[dev.zio/zio-test-intellij_sjs0.6_2.13 "1.0.3"]

Dependencies

compile (4)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.13.1
org.scala-js : scalajs-library_2.13 jar 0.6.32
dev.zio : zio_2.13 jar 1.0.3
dev.zio : zio-test_2.13 jar 1.0.3

provided (1)

Group / Artifact Type Version
com.github.ghik : silencer-lib_2.13.1 jar 1.4.4

test (1)

Group / Artifact Type Version
org.scala-js : scalajs-test-bridge_2.13 jar 0.6.32

Project Modules

There are no modules declared in this project.

ZIO Test runner support for the ZIO IntelliJ plugin

CI Release Snapshot Discord
Build Status Release Artifacts Snapshot Artifacts Badge-Discord

Summary

This is an optional dependency module, providing enhanced test runner support in the ZIO IntelliJ plugin.

Once enabled, the test results will be rendered in the integrated IntelliJ test runner, allowing navigation, sorting, retrying failed tests and more!

Usage

To enable the integrated runner, add the following to your SBT file, then re-import it in IntelliJ:

"dev.zio" %%% "zio-test-intellij" % zioVersion % "test"

The next time you run your tests from IntelliJ, the results will be rendered in the integrated test runner.

Please report any issues in the parent project: ZIO IntelliJ plugin.

Q&A

What's the difference between this and ZIO IntelliJ plugin?

This is an optional library dependency, allowing the test runner to output results in a format that IntelliJ/TeamCity can understand.

When enabled, IntelliJ will use it to render the test output in the integrated runner. Otherwise, the output from the ZIO test runner will be displayed in the standard process output console.

Why have a separate library at all?

Due to the way IntelliJ currently works, it makes it very difficult to include libraries that target a specific version of third-party libraries or different Scala versions. IntelliJ's own Scala plugin currently targets Scala 2.12.10, so all plugin developers that depend on it must target this version as well. The ZIO Plugin depends on the Scala plugin for Scala code analysis and other Scala-specific features.

Separating the library allows decoupling the plugin from any specific ZIO version, allowing separate and independent release cycles.

Why do I need to add this to my build.sbt?

The library is a small implementation of the built-in ZIO Test runner with a custom test result renderer that emits IntelliJ-specific output. IntelliJ launches ZIO tests as a command-line application, so the library has to be present on the classpath. By adding it to the build.sbt it ensures that the correct version will be loaded.

In the future, the ZIO IntelliJ plugin will be able to download and use the correct version automatically, without having to add it to build.sbt.

I found a bug/have a feature request!

Great! Please report it to the ZIO IntelliJ plugin repo.

Contributing

Documentation for contributors

Code of Conduct

See the Code of Conduct

Support

Come chat with us on Badge-Discord.

License

License

dev.zio

ZIO

ZIO — Real World Functional Programming

Versions

Version
1.0.3
1.0.2
1.0.1
1.0.0
1.0.0-RC21-2
1.0.0-RC20
1.0.0-RC19-2
1.0.0-RC19
1.0.0-RC18-2