A calculator for quick simple calculations with a nice user interface and no ads
Go to file
2016-01-22 12:31:32 +01:00
app Merge branch 'master' of github.com:SimpleMobileTools/Simple-Calculator 2016-01-22 12:31:32 +01:00
gradle/wrapper creating the android project 2015-12-24 12:29:46 +01:00
.gitignore create an app keystore and sign it 2016-01-04 23:19:39 +01:00
build.gradle creating the android project 2015-12-24 12:29:46 +01:00
gradle.properties creating the android project 2015-12-24 12:29:46 +01:00
gradle.properties_sample add a sample file to see how are the constants in gradle.properties set 2016-01-21 20:04:47 +01:00
gradlew creating the android project 2015-12-24 12:29:46 +01:00
gradlew.bat creating the android project 2015-12-24 12:29:46 +01:00
LICENSE updating the license year 2016-01-10 13:27:50 +01:00
README.md Create README.md 2015-12-29 14:09:45 +01:00
settings.gradle creating the android project 2015-12-24 12:29:46 +01:00

Simple-Calculator

A simple Android opensource calculator with a widget, functional and UI tests

Running Espresso UI tests

1. at Build Variants select "Android Instrumentation Tests" 2. Run -> Edit Configurations 3. create a new "Android Tests" configuration, give it a name (i.e. "MainActivityEspressoTest") 4. choose the "app" module 5. OK 6. make sure MainActivityEspressoTest is selected near the Run button 7. Run

Running Robolectric tests

1. at Build Variant select "Unit Tests" 2. at the Project tab right click the folder containing the tests (i.e. "calculator.simplemobiletools.com.simple_calculator (test)") 3. select Run 'Tests in 'calculator.simplemob...' to run all the tests 4. if you are on Linux or Mac, go to Run -> Edit Configurations, select the new JUnit configuration and change the "Working Directory" item to "$MODULE_DIR" (without quotes) 5. OK 5. Run