Ver Fonte

Merge pull request #364 from ckeditor/t/363

Introduced task for building and testing manual tests.
Piotrek Koszuliński há 9 anos atrás
pai
commit
a102c2a106
3 ficheiros alterados com 10 adições e 4 exclusões
  1. 1 1
      .gitignore
  2. 8 2
      gulpfile.js
  3. 1 1
      package.json

+ 1 - 1
.gitignore

@@ -5,7 +5,7 @@
 # Be sure to append /** to folders to have everything inside them ignored.
 
 # All "dot directories".
-.*/**
+**/.*/**
 
 node_modules/**
 build/dist/**

+ 8 - 2
gulpfile.js

@@ -176,7 +176,7 @@ gulp.task( 'docs:editors', [ 'compile:js:esnext', 'compile:themes:esnext' ], ()
 const tests = require( '@ckeditor/ckeditor5-dev-tests' );
 
 gulp.task( 'test', () => {
-	return tests.tasks.test( getTestOptions() );
+	return tests.tasks.automated.test( getTestOptions() );
 } );
 
 // Requires compiled sources. Task should be used in parallel with `gulp compile --formats=esnext --watch`.
@@ -184,7 +184,13 @@ gulp.task( 'test:server', () => {
 	const options = getTestOptions();
 	options.sourcePath = path.resolve( config.MODULE_DIR.esnext );
 
-	return tests.tasks.runTests( options );
+	return tests.tasks.automated.runTests( options );
+} );
+
+gulp.task( 'test:manual', ( done ) => {
+	tests.tasks.manual.run( {
+		packages: getCKEditor5PackagesPaths()
+	}, done );
 } );
 
 function getTestOptions() {

+ 1 - 1
package.json

@@ -34,7 +34,7 @@
     "@ckeditor/ckeditor5-dev-docs": "^4.1.0",
     "@ckeditor/ckeditor5-dev-env": "^1.0.0",
     "@ckeditor/ckeditor5-dev-lint": "^1.0.1",
-    "@ckeditor/ckeditor5-dev-tests": "^2.0.0",
+    "@ckeditor/ckeditor5-dev-tests": "^3.0.0",
     "babel-polyfill": "^6.13.0",
     "benderjs": "^0.4.1",
     "benderjs-chai": "^0.2.0",