4. Unit Test
• Simple, quick to write and quick to run
• Integration tests
• Acceptance tests (also called Functional tests)
case 1
case 2
5. TDD
• Test Driven Development (TDD)
• A process for when you write and run your tests
• Test-coverage
6. BDD
• Behaviour Driven Development
• Agile development
• Connecting with TDD
• User story
• Human readable
“An approach to development that improves
communication between business and
technical teams to create software with
business value.”
13. Selenium
• http://www.seleniumhq.org
• Open Source
• An automating web applications
• Cross platform
• Support lots of browser vendors
Chrome, Safari et al.
• Support lots of Programming language
Python, Node.js et al.
21. Nightwatch
• http://nightwatchjs.org/
• Open Source
• A BDD Web-based auto testing framework
• Node.js base
• A Chai, Mocha and Selenium combination framework
• Selenium RC protocol
• Screenshot when a test fails
37. PhantomJS - Non GUI testing
• Effectively and faster
• Easy implement
• PhantomJS (Ghost driver)
• http://phantomjs.org/
• Friendly to command-line base
• Hard to debug
• Screenshot is necessary
43. Challenge
• Microsoft IE
Unix-like interacte with Windows
• macOS Safari
Need a Mac device
• AWS command-line base platform
Need a GUI bridge
• Mobile platform (RWD)
Fix Browser resolution? or Use Appium framework?