android / android/android-test

Tests are not running in IntrumentationTest Error : Tests Cancelled 0 passed

Open
#1,787 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.2k
Forks
342
Avg merge
11h 29m
Merged PRs (30d)
2

Description

### Tests are not running in **IntrumentationTest**

### Trying to run default Instrumentation test generated by Android studio IDE itself.

### Should run properly with pass/failure status, In case of failure the error message should be thrown

### Tests Cancelled 0 passed as toast and nothing happens

### AndroidX Test and Android OS Versions

testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'

### Link to a public git repo demonstrating the problem:

https://github.com/contentstack/contentstack-android/tree/feat/CS-37836-azure-eu-and-include-metadata

https://drive.google.com/file/d/1i8fJZ4xV1FACrzkn_7P_nXx4lpQyK4P3/view?usp=sharing

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the default InstrumentationTest in the linked contentstack-android repository with the listed AndroidX Test dependencies, then inspect why the run is cancelled. Done means the test reports pass or failure status and displays an error message when it fails.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.