mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-15 10:46:32 +00:00
Merge pull request #578 from asmsuechan/add-a-documentation-of-e2e-testiong
Add a documentation of e2e testiong
This commit is contained in:
15
docs/jp/testing.md
Normal file
15
docs/jp/testing.md
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# 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`をご覧ください。
|
||||||
15
docs/testing.md
Normal file
15
docs/testing.md
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# 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
|
||||||
Reference in New Issue
Block a user