のリファクタリングを適応する
特定のバージョンでの変更点を簡単に確認できるよう、 「Aの列のラジオボタンを選ぶと同じ行より一つ下にあるBの列のラジオボタンを自動で選ぶ」 という補助を実装する
testiumを使ったE2Eテストで状態が壊れてないかをチェックしてリファクタリングを行う。
npm startでnodeapps/http-serverを使ったローカルサーバを立てる- Mocha + testium + power-assert でテストケースを書く
- リファクタリングを開始する
npm testでテストを動かし確認する
- Refactoring jQuery #1
- Refactoring E2E tests to apply page-object pattern by azu · Pull Request #2 · coding-kata/beautiful-code-vs-mr-oldtype
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
MIT
