1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

Merge pull request #678 from asmsuechan/remove-e2e-document

Remove e2e documents
This commit is contained in:
SuenagaRyota
2017-07-05 13:38:42 +09:00
committed by GitHub
5 changed files with 0 additions and 60 deletions

View File

@@ -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`をご覧ください。

View File

@@ -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

View File

@@ -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

View File

@@ -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\""

View File

@@ -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