From 09f8e5f25abc29160b9ec3a9cc0b3b37af8da96a Mon Sep 17 00:00:00 2001 From: asmsuechan Date: Tue, 16 May 2017 15:11:20 +0900 Subject: [PATCH 1/4] Add a documentation of e2e testing in English --- docs/testing.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docs/testing.md diff --git a/docs/testing.md b/docs/testing.md new file mode 100644 index 00000000..7d7dc96c --- /dev/null +++ b/docs/testing.md @@ -0,0 +1,14 @@ +# Testing for Boostnote +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 From 5e03f128759f2d17660960c8d45f5a9808488592 Mon Sep 17 00:00:00 2001 From: asmsuechan Date: Tue, 16 May 2017 15:13:56 +0900 Subject: [PATCH 2/4] Add a documentation of e2e testing in Japanese --- docs/jp/testing.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docs/jp/testing.md diff --git a/docs/jp/testing.md b/docs/jp/testing.md new file mode 100644 index 00000000..5405b036 --- /dev/null +++ b/docs/jp/testing.md @@ -0,0 +1,14 @@ +# Testing for Boostnote +Boostnoteには[ava](https://github.com/avajs/ava)と[spectron](https://github.com/electron/spectron)で書かれたe2eテストがあります。 + +## 実行方法 +以下のe2eテストのコマンドがあります。 + +``` +$ yarn run test:e2e +``` + +もう一つのテストコマンドと分けた理由は、travisCIの都合です。 + +## On travisCI +travisCIではmasterブランチで飲みe2eテストを実行するようにしています。もし興味がある方は `.travis.yml`をご覧ください。 From 968ed146b2728afdbc63839a5ef14d395ad8c23d Mon Sep 17 00:00:00 2001 From: asmsuechan Date: Tue, 16 May 2017 15:16:55 +0900 Subject: [PATCH 3/4] Fix the document in Japanese --- docs/jp/testing.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/jp/testing.md b/docs/jp/testing.md index 5405b036..bad37355 100644 --- a/docs/jp/testing.md +++ b/docs/jp/testing.md @@ -1,7 +1,8 @@ # Testing for Boostnote +## e2eテスト Boostnoteには[ava](https://github.com/avajs/ava)と[spectron](https://github.com/electron/spectron)で書かれたe2eテストがあります。 -## 実行方法 +### 実行方法 以下のe2eテストのコマンドがあります。 ``` @@ -10,5 +11,5 @@ $ yarn run test:e2e もう一つのテストコマンドと分けた理由は、travisCIの都合です。 -## On travisCI +### travisCIでは travisCIではmasterブランチで飲みe2eテストを実行するようにしています。もし興味がある方は `.travis.yml`をご覧ください。 From e848c74511852e58942516b1a1e50bc56b6d3297 Mon Sep 17 00:00:00 2001 From: asmsuechan Date: Tue, 16 May 2017 15:17:20 +0900 Subject: [PATCH 4/4] Fix the document in English --- docs/testing.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/testing.md b/docs/testing.md index 7d7dc96c..3e6d1c89 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -1,7 +1,8 @@ # 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 +### How to run There is a command for e2e testing bellow: ``` @@ -10,5 +11,5 @@ $ yarn run test:e2e The reason why I seperate aother test command is because of convenience of travisCI. -## On 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