diff --git a/docs/jp/testing.md b/docs/jp/testing.md deleted file mode 100644 index bad37355..00000000 --- a/docs/jp/testing.md +++ /dev/null @@ -1,15 +0,0 @@ -# Testing for Boostnote -## e2eテスト -Boostnoteには[ava](https://github.com/avajs/ava)と[spectron](https://github.com/electron/spectron)で書かれたe2eテストがあります。 - -### 実行方法 -以下のe2eテストのコマンドがあります。 - -``` -$ yarn run test:e2e -``` - -もう一つのテストコマンドと分けた理由は、travisCIの都合です。 - -### travisCIでは -travisCIではmasterブランチで飲みe2eテストを実行するようにしています。もし興味がある方は `.travis.yml`をご覧ください。 diff --git a/docs/ru/testing.md b/docs/ru/testing.md deleted file mode 100644 index 58d39f34..00000000 --- a/docs/ru/testing.md +++ /dev/null @@ -1,20 +0,0 @@ -# Тестирование для Boostnote -## Тестирование e2e -Существуют тесты e2e для Boostnote, написанные на [ava](https://github.com/avajs/ava) и [spectron](https://github.com/electron/spectron). - -### Как запустить -Для тестирование e2e существует команда: - -``` -$ yarn run test:e2e -``` - -Причина, по которой я использую другую команду тестирования - это удобство travisCI. - -### TravisCI -Я установил тесты e2e, запущенные на travisCI, только в ветке master. Если вас это интересует, ознакомьтесь с файлом .travis.yml - ---- - -Special thanks: -Translated by @AlexanderBelkevich diff --git a/docs/testing.md b/docs/testing.md deleted file mode 100644 index 3e6d1c89..00000000 --- a/docs/testing.md +++ /dev/null @@ -1,15 +0,0 @@ -# Testing for Boostnote -## e2e testing -There is e2e tests for Boostnote written in [ava](https://github.com/avajs/ava) and [spectron](https://github.com/electron/spectron). - -### How to run -There is a command for e2e testing bellow: - -``` -$ yarn run test:e2e -``` - -The reason why I seperate aother test command is because of convenience of travisCI. - -### On travisCI -I set e2e tests running on travisCI only master branch. If you're interested in it, please take a look at .travis.yml diff --git a/package.json b/package.json index da6d9ab1..9fad7db8 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,6 @@ "webpack": "webpack-dev-server --hot --inline --config webpack.config.js", "compile": "grunt compile", "test": "PWD=$(pwd) NODE_ENV=test ava", - "test:e2e": "NODE_ENV=test ava tests/e2e/*", "fix": "npm run lint --fix", "lint": "eslint .", "dev-start": "concurrently --kill-others \"npm run webpack\" \"npm run hot\"" diff --git a/script/e2e-runner.sh b/script/e2e-runner.sh deleted file mode 100755 index 32a1ffc5..00000000 --- a/script/e2e-runner.sh +++ /dev/null @@ -1,9 +0,0 @@ -if [[ ${TRAVIS_OS_NAME} = "linux" ]]; then - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start; - sleep 3 -fi - -npm install grunt-cli -g -grunt pre-build -npm run test:e2e