1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-19 12:41:43 +00:00

Updated Tests (markdown)

SuenagaRyota
2017-10-04 11:16:48 +09:00
parent 0f6dbf7a09
commit f34183423d

@@ -12,7 +12,7 @@ $ yarn run lin
There are 2 types of test in Boostnote, one is unit tests for `dataApi`, another one is unit tests for other modules in `browser/lib/`. There are 2 types of test in Boostnote, one is unit tests for `dataApi`, another one is unit tests for other modules in `browser/lib/`.
# Why no e2e test? # Why no e2e test?
Actually, it was. Spectron was used for e2e test tool. The reason why it was removed is that because it has problems below: Actually, it was. Spectron was used for our e2e test tool. The reason why it was removed is that because it has problems below:
1. Spectron doesn't support button click in a dialog box so the files for tests remain even after the tests finish 1. Spectron doesn't support button click in a dialog box so the files for tests remain even after the tests finish
2. It's hard to specify input field due to CodeMirror complication 2. It's hard to specify input field due to CodeMirror complication
3. It doesn't run well on CI due to permission 3. It doesn't run well on CI due to permission