pon3939 / MakiType

タイピングアプリ
1 stars 0 forks source link

自動テストしたい #1

Open pon3939 opened 3 years ago

pon3939 commented 3 years ago

自動テストしたい GitHubにpushしたらテスト実行されるのをゴールにする

pon3939 commented 3 years ago

ドキュメントにも手順を追記する

pon3939 commented 3 years ago

メインプロセスはSpectron、レンダラープロセスや見た目はSeleniumでテストするとよさそう

pon3939 commented 3 years ago

Spectron + Jestでテストできそう?

pon3939 commented 3 years ago

SpectronとTypeScriptの相性が悪い。 SpectronがElectronのプロパティをPromiseで返すため、型定義と一致せずコンパイルエラーになる。 とりあえずIssueを投げたから反応待ち。