Skip to content

Commit

Permalink
2.5.0-alpha14 (#84)
Browse files Browse the repository at this point in the history
* Open UltronAllureTestRunner
  • Loading branch information
alex-tiurin authored Jul 31, 2024
1 parent 07327cd commit 41b55a7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ kotlin.mpp.enableCInteropCommonization=true

GROUP=com.atiurin
POM_ARTIFACT_ID=ultron
VERSION_NAME=2.5.0-alpha13
VERSION_NAME=2.5.0-alpha14
2 changes: 1 addition & 1 deletion sample-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ android {
minSdk = 21
targetSdk = 34
multiDexEnabled = true
testInstrumentationRunner = "com.atiurin.ultron.allure.UltronAllureTestRunner"
testInstrumentationRunner = "com.atiurin.sampleapp.framework.CustomTestRunner"
}

compileOptions {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package com.atiurin.sampleapp.framework

import com.atiurin.ultron.allure.UltronAllureTestRunner

class CustomTestRunner : UltronAllureTestRunner() {}
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import com.atiurin.ultron.extensions.putArguments
import com.atiurin.ultron.runner.UltronRunInformer
import io.qameta.allure.android.runners.AllureAndroidJUnitRunner

class UltronAllureTestRunner : AllureAndroidJUnitRunner() {
open class UltronAllureTestRunner : AllureAndroidJUnitRunner() {
val informer: UltronRunInformer = UltronAllureRunInformer()

override fun onCreate(arguments: Bundle) {
arguments.putArguments("listener", UltronTestRunListener::class.java.name)
arguments.putArguments("listener", UltronTestRunListener::class.qualifiedName!!)
super.onCreate(arguments)
}
}
Expand Down

0 comments on commit 41b55a7

Please sign in to comment.