title 筆記 - Web Tech Topic 02
datetime 2016-08-04 19:14:39
tags note
category coding
link note-web-tech-topic-02
file 2016-08-04-191439-note-web-tech-topic-02
template post
end
- mimic user behavior
- three parts: visit url, input, result
- feature spec: mvc
- request spec: mvc * n
- test email: open_email, current_eamil (capybara-eamil)
- selenium, marionette
- database_cleaner to sync the web behavior
- save_and_open_page
- use real name to create user for testing, easy to find and check
- init ubuntu/trusty64
- up
- status
- ssh
- halt
- reload - reload config and reboot
- 自動化執行指令
- 寫在vagrantfile
- config.vm.provision "shell", inline: "nginx -v"
- package --output xxx.box
- box add xxx.box