selendroid
"Selenium for Android" (Test automate native or hybrid Android apps and the mobile web with Selendroid.) Join us on IRC #selendroid on freenode. Also confirm you have signed the CLA http://goo.gl/pAvxEI when making a Pull Request. (by selendroid)
robolectric
Android Unit Testing Framework (by robolectric)
Our great sponsors
selendroid | robolectric | |
---|---|---|
2 | 8 | |
875 | 5,792 | |
0.0% | 0.4% | |
0.0 | 9.8 | |
over 2 years ago | 6 days ago | |
Java | Java | |
Apache License 2.0 | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
selendroid
Posts with mentions or reviews of selendroid.
We have used some of these posts to build our list of alternatives
and similar projects.
- Ich hab ne frage wegen der cdu app
-
Top Automation Testing Trends To Look Out In 2021
With the growing number of mobile devices of different resolutions and OS behavior, we can undoubtedly say that companies will look for testers with experience in automated mobile app testing. Seeing the latest trends in automation testing, frameworks like Appium, Selendroid, Robotium are going to be more prevalent in 2021. Along with that, the demand for testers having experience in these tools will increase as well.
robolectric
Posts with mentions or reviews of robolectric.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-15.
-
Best libraries for Android Developers
Robolectric
-
What should the View layer be responsible for in Android?
Do you use Robolectric to test string resolving?
-
Testing Jetpack Compose with Robolectric
@Config(instrumentedPackages = ["androidx.loader.content"]) is a workaround for https://github.com/robolectric/robolectric/issues/6593
-
Testing Jetpack Compose without emulator or device
There is also an issue with Robolectric which can be worked around by adding @Config(instrumentedPackages = ["androidx.loader.content"]) annotation to the test class.
-
Trouble with room migrations
If it's failing only on robo, this might be the cause: https://github.com/robolectric/robolectric/issues/6411
-
How else do you test your apps, apart from Unit Testing?
Unit tests. ~X0,000. These run on the jvm (not Android), via http://robolectric.org/
-
Where do you write the test class in your classes that need context?
Take a look at http://robolectric.org. It has a specific JUnitRunner class for running unit tests in the test package with shadow classes for Android objects like application context. It is broadly used and there are a lot of examples on github and robolectric provides several themselves
- Robolectric 4.5 Beta 1 is now available
What are some alternatives?
When comparing selendroid and robolectric you can also consider the following projects:
robotium - Android UI Testing
JUnit - A programmer-oriented testing framework for Java.
stf - Control and manage Android devices from your browser.
PowerMock - PowerMock is a Java framework that allows you to unit test code normally regarded as untestable.
assertj-android - A set of AssertJ helpers geared toward testing Android.
macaca-android - 🤖 Macaca Android driver
robolectric - Android Unit Testing Framework
LiveData Testing - TestObserver to easily test LiveData and make assertions on them.
Cafe - A powerful test framework for Android