android - How to find Robolectric version at runtime? -


is there way retrieve robolectric's version @ runtime? environment under controlled library versioning , make sure run test if robolectric has specific version (for example, avoid runtime known issues it). example:

@test public void should_do_x() {     if (robolectric.version >= supported_version) {        //do        //validate     } } 


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -