-
as seen on Stack Overflow
- Search for 'Stack Overflow'
i tried using the steps in http://code.google.com/p/gwt-test-utils/wiki/HowToUseWithGIN and i'm using testNG but it is giving fallowing error
java.lang.ExceptionInInitializerError
at com.riskfocus.examples.JsonReaderWriterTest.setupGIN(JsonReaderWriterTest.java:59)
at sun.reflect.NativeMethodAccessorImpl…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi, I am running hundreds of tests against a large publishing system and would like to paralellize the tests using TestNG. However, I cannot find any easy way of doing this. Each test case instanciates an instance of this publisher, send some messages, wait for those messages to be published, then…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
When I write tests in JUnit (in Spring context) I usualy do it like this:
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration("classpath:testContext.xml")
public class SimpleTest {
@Test
public void testMethod() {
// execute test logic...
}
}
How can I do the…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
If we have <include name="web" > and <include name="weekend" >, TestNG runs all the methods that belong to either web or weekend.
Is it possible to change this behaviour so TestNG would run all the methods that belong to web and weekend? Does anyone knows a way to accomplish this?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi gents and ladies,
I'm responsible for allowing unit tests for one of ETL components.I want to acomplish this using testNG with generic java test class and number of test definitions in testng.xmlpassing various parameters to the class.Oracle and ETL guys should be able to add new tests without…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Established app working fine using Android Studio 0.5.9/ Gradle 0.9 but upgrading to Android Studio 0.6.0/ Gradle 0.11 causes the error below.
Somehow Studio seems to have lost the ability to resolve the android tools import at the top of the build.gradle file.
Anyone got any ideas on how to solve…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
currently, I'm testing Gradle as an alternative to Maven. In my projects, there are some 3rd party jars, which aren't available in any (Maven) repositories. My problem is now, how could I manage it to install these jars into my local .gradle repository. (If it's possible, I don't want to use…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to setup a test using Robolectric to click on a menu button in this repository. Basic Robolectric tests will run, but I'm not able to run any project-specific test using resources because it says it can't find my AndroidManifest.xml. After running ../gradlew clean check, here's the standard…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
One developer on my team has some setting in Android Studio that replaces the distributionUrl entry in gradle/wrapper/gradle-wrapper.properties to use the gradle-###-all.zip, while my Android Studio changes it back to gradle-###-bin.zip.
Basically, my diff always looks like:
-distributionUrl=https\://services…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am really tired of struggling with Maven 2 all the time. Build tools should not be in the way. Recently I have been looking at Buildr and Gradle. Maven 3 seems to fix some of the struggles. So, what should I go for now? Buildr? Gradle? Or wait a year for Maven 3?
>>> More