Coder Social home page Coder Social logo

learngeb's Introduction

網站自動化測試之美

Learning Web Test with Geb

摘要

Geb 是瀏覽器自動化(browser automation)的解決方案。

以強大的 Selenium WebDriver 作為基礎,直接控制瀏覽器進行網站操作,而非模擬 HTTP 存取的方式,即使面對 AJAX 或是複雜的 RIA(Rich Internet Application)也能輕鬆駕馭。

發揮 Groovy 程式語言作為 DSL(Domain-Specific Language)的優勢,建構出一套瀏覽器自動化專屬的語法,並提供類似 jQuery 的操作方法,存取網頁 DOM 節點更方便,撰寫測試程式更簡潔快速。

可以用簡單的 Groovy Script 方式執行,也可以配合 Maven 或 Gradle 建置專案,能夠無縫整合 JUnit、Spock 或 TestNG 等測試框架,並且搭配 Jenkins CI 進行專案開發流程整合。

課程/講座

企業培訓請聯繫【創科資訊】教學團隊

作者

  • 劉艾霖(資深網站開發者)
  • 林彥宏(Java / Groovy 開發技術推廣者)
  • 謝宗穎(Docker / Jenkins CI 開發技術推廣者)

這是一本開放源碼電子書,使用 GitBook 協作出版,本書全文與範例程式碼放在 GitHub 網站。

https://github.com/readbook/learngeb

如何取得電子書?

因為這本書還在「不斷長大」,請瀏覽這本書的專屬網站,取得最新發行的內容。

http://learngeb.readbook.tw/

也可以掃描 QR-Code 哦!

qrcode

(用手機掃瞄條碼進入 Geb 電子書首頁)

勘誤回饋?

如發現內容勘誤,請好心的大大協助我們更正,歡迎利用這些管道和我們聯繫:

  • 使用 GitHub Issues 回報錯誤
  • 寄信到 lyhcode 小老鼠 gmail.com

learngeb's People

Contributors

alincode avatar lyhcode avatar smlsunxie avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.