Code Monkey home page Code Monkey logo

android-spock's People

Contributors

andrewreitz avatar dbacinski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-spock's Issues

Jacoco integration

More than an issue is just a question... Mostly all production environments are based on KPIs and that stuff, so a way to measure the "amount" and """quality""" of the tests are needed. Is it possible to integrate the tool with Jacoco coverage tool?

Fix Dependencies of Library

Android libs doesn't seem to know how to attach dependencies in the pom creation. Do it by hands in publishing.gradle.

Instrumentation method test invocation

I have connected android spock according to your instructions in tutorial. Ordinary unit test works excelent, but when I want execute one instrumentation test method error occurs - Test running failed: No test results. Empty test suite.. Furthermore, when I execute all methods in instrumentation test class everything works fine. Please, let me know what information you need to solve the problem.

Setup dependencies

Setup Dependencies readme seems to be outdated.
I think this should be updated to: androidTestImplementation 'com.andrewreitz:spock-android:2.0.0'

Problems using Espresso with android-spock

I tried to use espresso along with android-spock. This works fine, as long as my Specification has just one single test method.

If I add a second test which interacts with the activity, these second test hangs because it is waiting for the activity coming up.

I'm not sure if it's an bug or maybe I do something wrong? Or it's just a feature that is still not implemented?

I attached some sample code :
CalculatorActivitySpec.groovy is working perfectly fine.
OtherCalculatorActivitySpec.groovy the first test is passing, the second one hangs.

EDIT: I was able to solve the Problem. I was still on v1.2.1 and found that there is an attribute runMode introduced with v1.2.2. This is currently neither mentioned in the documentation nor the sample.

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.