Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

robotium task #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {

dependencies {
classpath 'com.android.tools.build:gradle:0.4+'
classpath group: 'org.testobject.extras', name: 'gradle', version: '3+'
classpath group: 'org.testobject.extras', name: 'gradle', version: '4+'
}
}

Expand Down Expand Up @@ -42,4 +42,5 @@ testobject {
activateVersion "$System.env.testobjectactivateversion".toBoolean()
testSuites Eval.me("$System.env.testobjectsuites").toArray(new int[0])
runCheckup "$System.env.testobjectruncheckup".toBoolean()
robotiumSuiteId "$System.env.testobjectrobotiumsuiteid"
}
Binary file added testobject/ant/testobject-ant-4.0.0.jar
Binary file not shown.
6 changes: 5 additions & 1 deletion testobject/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
<activateVersion versionId="${new.version}" />
</target>

<target name="updateRobotium" depends="login">
<updateRobotium robotiumSuiteId="${testobject.robotiumSuite.id}" file="${robotiumApk.path}" />
</target>

<!-- set the new version as default -->
<target name="runCheckup" depends="activateVersion">
<runCheckup />
Expand All @@ -47,4 +51,4 @@
<fail message="Test Suite Replay failed with ${testSuite.errors} errors" />
<echo message="https://app.testobject.com/#/${testobject.user}/${testobject.app}/reports/${new.testSuite}"></echo>
</target>
</project>
</project>