Comments (8)
Looks like they have no native support for this implemented yet.
https://code.google.com/p/android/issues/detail?id=140241
from androidstudioandrobolectric.
Cool, thanks. At least it has been flagged as high priority for 1.2.
On Tue, 17 Feb 2015 11:41 Nico Küchler [email protected] wrote:
Looks like they have no native support for this implemented yet.
https://code.google.com/p/android/issues/detail?id=140241—
Reply to this email directly or view it on GitHub
#2 (comment)
.
from androidstudioandrobolectric.
You can try the plugin from the robolectric team, maybe with this you get all working what you need https://github.com/robolectric/robolectric-gradle-plugin
from androidstudioandrobolectric.
With Gradle builds:
gradlew --parallel
With Robolectric plugin:
robolectric {
// Specify max number of processes (default is 1)
maxParallelForks = 4
// Specify max number of test classes to execute in a test process
// before restarting the process (default is unlimited)
forkEvery = 150
}
from androidstudioandrobolectric.
Great! Thanks for reporting.
from androidstudioandrobolectric.
@nenick Thanks for making this repo. Also, this is not an issue related to your repo, so I believe you can close this.
from androidstudioandrobolectric.
I like to know you opinion.
Current my plan is to let the issues open until they are really "fixed". Most issues have a reference to an open google issue and shows the existing workaround. Yes they are not related to this samples. I guess it is much easier to use the open issues if you try to apply this setup to an existing project instead of searching the closed issues which are still relevant.
from androidstudioandrobolectric.
But there is no "fix" for this, there is already support.
This is an example repository, not the Robolectric repository.
Gradle
does supports parallel builds.
Robolectric
does support parallel tests.
So there is no issue here.
from androidstudioandrobolectric.
Related Issues (20)
- NoClassDefFoundError: android/content/Context HOT 1
- AnnotationFormatError: Invalid default: public abstract java.lang.Class org.robolectric.annotation.Config.application()
- Test is stuck at :app:testDebug HOT 1
- Can't run Roboletric on windows: java.lang.NoSuchMethodException: android.os.Looper.<init>(boolean) HOT 2
- @Config and @RobolectricTestRunner not recognised HOT 2
- Not An Issue HOT 1
- No issue - line #-1 (sorry, not yet implemented): Error inflating class <unknown> HOT 11
- Running test in core fails with "values is not a directory" HOT 6
- No issue ( java.lang.StringIndexOutOfBoundsException: String index out of range: -9) HOT 5
- Resources not found exception when applicationId is altered HOT 1
- Fails with org.robolectric:robolectric:3.0-rc3 HOT 5
- Your work around is not working with apply plugin: 'com.android.library' HOT 18
- NoClassDefFoundError OnApplyWindowInsetsListener
- No Copyright/License Information HOT 1
- Gradle DSL method not found: 'execute()'. Any solution?
- Test resources not found from unit test
- Package R does not exist HOT 2
- Not compileing main source when compile unit test sources HOT 5
- BuildConfig is not by default generated for all build types
- NoClassDefFoundError: android/R
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidstudioandrobolectric.