mirror of
https://github.com/appium/appium.git
synced 2026-05-03 08:51:18 -05:00
add selendroid tests to grunt
This commit is contained in:
@@ -47,6 +47,9 @@ module.exports = function(grunt) {
|
||||
, ApiDemos: ['android', {
|
||||
functional: ['test/functional/apidemos']
|
||||
}]
|
||||
, Selendroid: ['selendroid', {
|
||||
functional: ['test/functional/selendroid']
|
||||
}]
|
||||
, Safari: ['ios', {
|
||||
functional: ['test/functional/safari']
|
||||
}]
|
||||
@@ -74,6 +77,9 @@ module.exports = function(grunt) {
|
||||
grunt.registerTask('android', "Run functional android tests", function(log) {
|
||||
runTestsWithServer(grunt, null, 'functional', 'android', log === "log", this.async());
|
||||
});
|
||||
grunt.registerTask('selendroid', "Run functional selendroid tests", function(log) {
|
||||
runTestsWithServer(grunt, null, 'functional', 'selendroid', log === "log", this.async());
|
||||
});
|
||||
grunt.registerTask('ios', "Run functional ios tests", function(log) {
|
||||
runTestsWithServer(grunt, null, 'functional', 'ios', log === "log", this.async());
|
||||
});
|
||||
|
||||
+1
-1
@@ -111,7 +111,7 @@ module.exports.runMochaTests = function(grunt, appName, testType, deviceType, cb
|
||||
runMochaProc();
|
||||
});
|
||||
} else {
|
||||
cb(_.max(exitCodes) || null);
|
||||
cb(_.max(exitCodes));
|
||||
}
|
||||
};
|
||||
runMochaProc();
|
||||
|
||||
Reference in New Issue
Block a user