Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scalio/storymakertest
A test project for StoryMaker.cc that utilizes Espresso
https://github.com/scalio/storymakertest
Last synced: about 2 months ago
JSON representation
A test project for StoryMaker.cc that utilizes Espresso
- Host: GitHub
- URL: https://github.com/scalio/storymakertest
- Owner: scalio
- Created: 2013-12-19T00:25:43.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-03-14T20:23:43.000Z (almost 11 years ago)
- Last Synced: 2023-08-06T08:42:31.668Z (over 1 year ago)
- Language: Java
- Size: 9.54 MB
- Stars: 2
- Watchers: 7
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
StoryMakerTest
==============A test project for [StoryMaker](http://storymaker.cc/) that utilizes Espresso
###Credits
StoryMakerTest was developed by [Scal.io](http://scal.io) and [Small World News](http://smallworldnews.tv/) as part of the [StoryMaker](http://storymaker.cc/) project with the generous support of [Open Technology Fund](https://www.opentechfund.org/).
[StoryMaker - Make your story great](http://storymaker.cc/)
### Setup
**Using Eclipse:**
1. Import the StoryMakerTest project into your StoryMaker Eclipse workspace.
2. Add the StoryMaker project to the Java Build Path of the StoryMakerTest project.
StoryMaker -> Project Properties -> Java Build Path -> Projects(Tab) -> Add -> Select StoryMaker
3. Add a JUnit Test Run Configuration.Run -> Run Configurations -> (Left Pane) StoryMakerTest -> Test (Tab)
+ In the Test tab:
+ Make sure "Run all tests in the selected project" is set to "StoryMakerTest"
+ Make sure "Instrumentation Runner" is set to "com.google.android.apps.common.testing.testrunner.GoogleInstrumentationTestRunner"#### Using [Spoon](https://github.com/square/spoon)
Spoon automatically runs tests against all devices available to adb and generates pretty HTML reports in `./spoon-output/`.
To invoke spoon:
java -jar ./spoon/spoon-runner-1.1.1-jar-with-dependencies.jar \
--class-name info.guardianproject.mrapp.test.TestCreateStory \ # fully qualified test class name. Ignore to run all tests
--apk ./path/to/StoryMaker.apk \
--test-apk ./bin/StoryMakerTest.apk**Note:** `IPTest` in the BouncyCastle library is detected by Spoon if you don't specify a test `--class-name`, and Spoon is unable to run that test.
### Authors
- [Josh Steiner](https://github.com/vitriolix/)
- [Micah Lucas](https://github.com/micahjlucas/)
- [David Brodsky](https://github.com/OnlyInAmerica/)