Git Product home page Git Product logo

droidcon-booth's Introduction

droidcon-booth

What is it?

A device wall which constantly polls github for connected android tests!

Actually we're not really writing tests here, you caught us! We're using the test runner to call our test suite composed of many lightning demos running for 10 seconds each...

and YOU can add to it! We want YOU to add your creative ideas as another lightning demo and showcase them at our booth.

Here are some of our ideas...

Logo #enumsmatter
logo enumsmatter

Rules :

You can do almost anything except...

  • Anything NSFW
  • Start intents that do not target components in this package (Including broadcasts)
  • Take automated pictures
  • Evil things to the test runner or devices
  • Sound
  • Touch other peoples tests, cmon we're all buds!
  • Write a failing test, no exceptions, force closes, major main thread blocking (a little bit is ok)

Stuff to try and avoid

  • Touching the production source code. We would prefer you hacked around limitations with reflection. Adding resources to the main source set is fine though.
  • Network. It's going to be busy, we can't guarantee the devices will be able to handle it.

if you're not sure, do it anyways!

You can always have a look at the merged pull requests.

How to take part :

Fork this repo https://github.com/novoda/droidcon-booth

Extend https://github.com/novoda/droidcon-booth/blob/master/mobile/src/androidTest/java/com/novoda/canvas/base/NovodaActivityTest.java

Implement startTestFor

?????

PROFIT

After you've made your super legit test, record a gif and raise a PR against this repo. Finally, we need a way to get in touch if you win!

Make sure you've done at least one of these

  • your github profile is up to date
  • you've put some form of contact in the PR description
  • you've put some form of contact as a comment in your test class

EZ.


You can record your test running via android studio's screen recording and then convert to a gif. We typically use > ffmpeg -i dank-test.mp4 -vf scale=360:-1 -r 15 dank-test.gif

@rock3r uses https://gist.github.com/rock3r/a923a79e8d8a850911aa ;) (default transcoding has horrible color artifacts)

and there's also a website for it http://ezgif.com/video-to-gif


While trying your test you might want to run only your own test with something like this

./gradlew cAT --debug -Pandroid.testInstrumentationRunnerArguments.class=com.novoda.canvas.HelloWorldTest

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.