├── .babelrc ├── .editorconfig ├── .gitignore ├── .postcssrc.js ├── README.md ├── config ├── dev.env.js ├── index.js ├── prod.env.js └── test.env.js ├── index.html ├── package.json ├── src ├── App.vue ├── assets │ └── logo.png ├── components │ ├── Counter.vue │ ├── Helloworld.vue │ └── SinaWeibo.vue ├── main.js ├── mock-data.js └── router │ └── index.js ├── static ├── .gitkeep ├── image │ ├── WB_logo.png │ ├── labor.01.jpg │ ├── labor.02.jpg │ ├── labor.03.jpg │ ├── news-image.01.png │ ├── news-profile.01.jpg │ ├── news-profile.02.jpg │ ├── plus.png │ ├── profile-bg.jpg │ ├── profile.jpg │ ├── search-active.png │ ├── search.png │ └── tell-people.png └── libs │ └── font-awesome-4.7.0 │ ├── HELP-US-OUT.txt │ ├── css │ ├── font-awesome.css │ └── font-awesome.min.css │ ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ └── fontawesome-webfont.woff2 │ ├── less │ ├── animated.less │ ├── bordered-pulled.less │ ├── core.less │ ├── fixed-width.less │ ├── font-awesome.less │ ├── icons.less │ ├── larger.less │ ├── list.less │ ├── mixins.less │ ├── path.less │ ├── rotated-flipped.less │ ├── screen-reader.less │ ├── stacked.less │ └── variables.less │ └── scss │ ├── _animated.scss │ ├── _bordered-pulled.scss │ ├── _core.scss │ ├── _fixed-width.scss │ ├── _icons.scss │ ├── _larger.scss │ ├── _list.scss │ ├── _mixins.scss │ ├── _path.scss │ ├── _rotated-flipped.scss │ ├── _screen-reader.scss │ ├── _stacked.scss │ ├── _variables.scss │ └── font-awesome.scss └── test ├── e2e ├── custom-assertions │ └── elementCount.js ├── nightwatch.conf.js ├── runner.js └── specs │ └── test.js └── unit ├── .eslintrc ├── index.js ├── karma.conf.js └── specs ├── Counter.spec.js ├── HelloWorld.spec.js └── SinaWeibo.spec.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/.babelrc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/.gitignore -------------------------------------------------------------------------------- /.postcssrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/.postcssrc.js -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/README.md -------------------------------------------------------------------------------- /config/dev.env.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/config/dev.env.js -------------------------------------------------------------------------------- /config/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/config/index.js -------------------------------------------------------------------------------- /config/prod.env.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | module.exports = { 3 | NODE_ENV: '"production"' 4 | } 5 | -------------------------------------------------------------------------------- /config/test.env.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/config/test.env.js -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/package.json -------------------------------------------------------------------------------- /src/App.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/src/App.vue -------------------------------------------------------------------------------- /src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/src/assets/logo.png -------------------------------------------------------------------------------- /src/components/Counter.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/src/components/Counter.vue -------------------------------------------------------------------------------- /src/components/Helloworld.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/src/components/Helloworld.vue -------------------------------------------------------------------------------- /src/components/SinaWeibo.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/src/components/SinaWeibo.vue -------------------------------------------------------------------------------- /src/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/src/main.js -------------------------------------------------------------------------------- /src/mock-data.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/src/mock-data.js -------------------------------------------------------------------------------- /src/router/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/src/router/index.js -------------------------------------------------------------------------------- /static/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /static/image/WB_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/image/WB_logo.png -------------------------------------------------------------------------------- /static/image/labor.01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/image/labor.01.jpg -------------------------------------------------------------------------------- /static/image/labor.02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/image/labor.02.jpg -------------------------------------------------------------------------------- /static/image/labor.03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/image/labor.03.jpg -------------------------------------------------------------------------------- /static/image/news-image.01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/image/news-image.01.png -------------------------------------------------------------------------------- /static/image/news-profile.01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/image/news-profile.01.jpg -------------------------------------------------------------------------------- /static/image/news-profile.02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/image/news-profile.02.jpg -------------------------------------------------------------------------------- /static/image/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/image/plus.png -------------------------------------------------------------------------------- /static/image/profile-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/image/profile-bg.jpg -------------------------------------------------------------------------------- /static/image/profile.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/image/profile.jpg -------------------------------------------------------------------------------- /static/image/search-active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/image/search-active.png -------------------------------------------------------------------------------- /static/image/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/image/search.png -------------------------------------------------------------------------------- /static/image/tell-people.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/image/tell-people.png -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/HELP-US-OUT.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/HELP-US-OUT.txt -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/css/font-awesome.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/css/font-awesome.css -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/css/font-awesome.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/css/font-awesome.min.css -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/fonts/fontawesome-webfont.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/fonts/fontawesome-webfont.svg -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/less/animated.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/less/animated.less -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/less/bordered-pulled.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/less/bordered-pulled.less -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/less/core.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/less/core.less -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/less/fixed-width.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/less/fixed-width.less -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/less/font-awesome.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/less/font-awesome.less -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/less/icons.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/less/icons.less -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/less/larger.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/less/larger.less -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/less/list.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/less/list.less -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/less/mixins.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/less/mixins.less -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/less/path.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/less/path.less -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/less/rotated-flipped.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/less/rotated-flipped.less -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/less/screen-reader.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/less/screen-reader.less -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/less/stacked.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/less/stacked.less -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/less/variables.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/less/variables.less -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/scss/_animated.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/scss/_animated.scss -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/scss/_bordered-pulled.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/scss/_bordered-pulled.scss -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/scss/_core.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/scss/_core.scss -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/scss/_fixed-width.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/scss/_fixed-width.scss -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/scss/_icons.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/scss/_icons.scss -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/scss/_larger.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/scss/_larger.scss -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/scss/_list.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/scss/_list.scss -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/scss/_mixins.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/scss/_mixins.scss -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/scss/_path.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/scss/_path.scss -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/scss/_rotated-flipped.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/scss/_rotated-flipped.scss -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/scss/_screen-reader.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/scss/_screen-reader.scss -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/scss/_stacked.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/scss/_stacked.scss -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/scss/_variables.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/scss/_variables.scss -------------------------------------------------------------------------------- /static/libs/font-awesome-4.7.0/scss/font-awesome.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/static/libs/font-awesome-4.7.0/scss/font-awesome.scss -------------------------------------------------------------------------------- /test/e2e/custom-assertions/elementCount.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/test/e2e/custom-assertions/elementCount.js -------------------------------------------------------------------------------- /test/e2e/nightwatch.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/test/e2e/nightwatch.conf.js -------------------------------------------------------------------------------- /test/e2e/runner.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/test/e2e/runner.js -------------------------------------------------------------------------------- /test/e2e/specs/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/test/e2e/specs/test.js -------------------------------------------------------------------------------- /test/unit/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/test/unit/.eslintrc -------------------------------------------------------------------------------- /test/unit/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/test/unit/index.js -------------------------------------------------------------------------------- /test/unit/karma.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/test/unit/karma.conf.js -------------------------------------------------------------------------------- /test/unit/specs/Counter.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/test/unit/specs/Counter.spec.js -------------------------------------------------------------------------------- /test/unit/specs/HelloWorld.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/test/unit/specs/HelloWorld.spec.js -------------------------------------------------------------------------------- /test/unit/specs/SinaWeibo.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KapiAI/Vue-Testing-Demo/HEAD/test/unit/specs/SinaWeibo.spec.js --------------------------------------------------------------------------------