Skip to content
This repository was archived by the owner on Dec 7, 2019. It is now read-only.
This repository was archived by the owner on Dec 7, 2019. It is now read-only.

Assumption violation treated as a failure #112

@koral--

Description

@koral--

Composer treats assumption failure as a test failure:

StatusCode.Failure, StatusCode.AssumptionFailure -> Failed(stacktrace = second.stack)

Is that intentional? Shouldn't assumption failures cause 'Ignored' result?

Example: an app showing camera preview with a toggle button changing camera facing. On devices with single cameras (like Nexus 7 2012) button is not displayed. So tests using that button can have assumption that there is more than one camera.

Spoon (via Gradle plugin v 1.2.2) treats assumption failures as success. That's not perfect but tests can be launched on a farm containing devices with single cameras and result is successful if there are no failures.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions