allure-zio-core


Лицензия

Лицензия

Группа

Группа

io.cronenbergworld
Идентификатор

Идентификатор

allure-zio-core_2.13
Последняя версия

Последняя версия

0.0.1-RC2
Дата

Дата

Тип

Тип

jar
Описание

Описание

allure-zio-core
allure-zio-core
Ссылка на сайт

Ссылка на сайт

https://github.com/Cronenberg-World/allure-zio-test
Организация-разработчик

Организация-разработчик

The Cronenberg World
Система контроля версий

Система контроля версий

https://github.com/Cronenberg-World/allure-zio-test

Скачать allure-zio-core_2.13

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/io.cronenbergworld/allure-zio-core_2.13/ -->
<dependency>
    <groupId>io.cronenbergworld</groupId>
    <artifactId>allure-zio-core_2.13</artifactId>
    <version>0.0.1-RC2</version>
</dependency>
// https://jarcasting.com/artifacts/io.cronenbergworld/allure-zio-core_2.13/
implementation 'io.cronenbergworld:allure-zio-core_2.13:0.0.1-RC2'
// https://jarcasting.com/artifacts/io.cronenbergworld/allure-zio-core_2.13/
implementation ("io.cronenbergworld:allure-zio-core_2.13:0.0.1-RC2")
'io.cronenbergworld:allure-zio-core_2.13:jar:0.0.1-RC2'
<dependency org="io.cronenbergworld" name="allure-zio-core_2.13" rev="0.0.1-RC2">
  <artifact name="allure-zio-core_2.13" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.cronenbergworld', module='allure-zio-core_2.13', version='0.0.1-RC2')
)
libraryDependencies += "io.cronenbergworld" % "allure-zio-core_2.13" % "0.0.1-RC2"
[io.cronenbergworld/allure-zio-core_2.13 "0.0.1-RC2"]

Зависимости

compile (6)

Идентификатор библиотеки Тип Версия
org.scala-lang : scala-library jar 2.13.4
dev.zio : zio_2.13 jar 1.0.4
dev.zio : zio-test_2.13 jar 1.0.4
dev.zio : zio-test-sbt_2.13 jar 1.0.4
io.qameta.allure : allure-java-commons jar 2.13.8
io.qameta.allure : allure-attachments jar 2.13.8

Модули Проекта

Данный проект не имеет модулей.

Allure ZIO Test

GitHub Workflow Status (branch) Maven Central Average time to resolve an issue Percentage of issues still open javadoc Badge-Scaladex-page Gitpod ready-to-code

Download

You can use one of the following ways to get Allure:

  • Grab it from bintray (see Downloads section).
  • Using Homebrew:
brew install allure
  • For Windows, Allure is available from the Scoop commandline-installer. To install Allure, download and install Scoop and then execute in the Powershell:
scoop install allure

Usage API in ZIO/Scala project

Add Allure plugin to project

In project/plugin.sbt file add the next line

addSbtPlugin("io.cronenbergworld" % "allure-zio-plugin" % "<last-version>")

Enable this plugin by adding the next line in build.sbt file

enablePlugins(AllureAutoPlugin)
import zio.test._
import zio.test.allure.AllureRunnableSpec
import zio.test.allure.Tags._

object ExampleSpec extends AllureRunnableSpec {

  def spec = suite("some suite")(
    test("failing test") {
      val stuff = 1
      assert(stuff)(Assertion.equalTo(2))
    } @@ owner("ExampleOwner") @@ custom("google.com", "google.com"),
    test("failing test 2") {
      val stuff = Some(1)
      assert(stuff)(Assertion.isSome(Assertion.equalTo(2)))
    },
    test("failing test 3") {
      val stuff = Some(1)
      assert(stuff)(Assertion.isSome(Assertion.not(Assertion.equalTo(1))))
    },
    test("passing test") {
      assert(1)(Assertion.equalTo(1))
    }
  ) @@ epic("ExampleEpicName")
}

You need to use zio.test.allure.AllureRunnableSpec instead of zio.test.DefaultRunnableSpec

Get Allure Report

If you want to generate report and up the server you need to use

allure serve allure-results

For generate HTML report use

allure generate allure-results

Demo

io.cronenbergworld

Версии библиотеки

Версия
0.0.1-RC2
0.0.1-RC1