com.avito.report.Report.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of report-api Show documentation
Show all versions of report-api Show documentation
Collection of infrastructure libraries and gradle plugins of Avito Android project
package com.avito.report
import com.avito.android.Result
import com.avito.report.model.AndroidTest
import com.avito.report.model.TestAttempt
import com.avito.report.model.TestStaticData
import com.avito.report.model.TestStatus
import com.avito.test.model.TestCase
public interface Report {
public val reportLinksGenerator: ReportLinksGenerator
public val testSuiteNameProvider: TestSuiteNameProvider
public fun addTest(testAttempt: TestAttempt)
/**
* Skipped tests available right after initial filtering, so it's added even before test runner started
*/
public fun addSkippedTests(skippedTests: List>)
/**
* Optionally report about tests, lost during run
*/
public fun reportLostTests(notReportedTests: Collection)
/**
* single result for each test, where attempts aggregated by
* [com.avito.android.runner.report.internal.TestAttemptsAggregateStrategy]
*/
public fun getTestResults(): Collection
public fun getPreviousRunsResults(): Result