Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Github、BehatやContinuous Integrationを含めてPull Req...

Scott
September 16, 2017

Github、BehatやContinuous Integrationを含めてPull RequestのWordPressの開発ワークフロー

2107 WordCamp 東京

Scott

September 16, 2017
Tweet

More Decks by Scott

Other Decks in Technology

Transcript

  1. WP-CLI # ϓϥάΠϯΛ༗ޮԽ͢Δ
 $ wp plugin activate wp-cfm # ϙετΛ࡟আ͢Δ


    $ wp post delete 123 # ϩʔϧΛදࣔ
 $ wp role list
 administrator ./wp-cli
  2. Scenario: As a user with the editor role I can

    publish blog posts Given I am logged in as "editor-qa"
 When I follow "Posts"
 And I follow "Add New"
 And I press "Text"
 And I fill in "post_title" with “͜Μʹͪ͸ʂ"
 And I press "Publish"
 Then I should see "Post published" BDDͷςετʢྫʣ
  3. ϦϯΫ ➤ ൃදͨ͠ྫΛશମͰؾʹߏஙɿhttps://github.com/pantheon-systems/example-wordpress-composer ➤ GIT: ʢӳޠ͚ͩͲɺ͓͢͢Ίʣhttps://www.codeschool.com/courses/try-git ➤ GIT: http://rogerdudler.github.io/git-guide/index.ja.html ➤

    ίϯϙʔβʔͱWP: http://qiita.com/atomita/items/37825ea00ef41ff6c884 ➤ WPϓϥάΠϯͷϨϙδτϦɿhttps://wpackagist.org/ ➤ ίϯϙʔβʔʢӳޠʣhttps://pantheon.io/docs/composer/ ➤ Behat: https://firegoby.jp/archives/6871 ➤ WPCFMʢӳޠʣ: https://wordpress.org/plugins/wp-cfm/ ➤ WPCFMʢӳޠʣ: https://pantheon.io/docs/wp-cfm/ ➤ σϞϯετϨʔγϣϯͷಈըɿhttps://youtu.be/PZbriZ0H0pk