Code Monkey home page Code Monkey logo

storymakertest's Introduction

StoryMakerTest

A test project for StoryMaker that utilizes Espresso

###Credits

StoryMakerTest was developed by Scal.io and Small World News as part of the StoryMaker project with the generous support of Open Technology Fund.

StoryMaker - Make your story great

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

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

storymakertest's People

Contributors

onlyinamerica avatar vitriolix avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

onlyinamerica

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.