~/talk

Web Testing with Logic Programming

Talkat Clojure/conj 2012 · 2012-11-15..11-17· [clojure, testing, ai-assisted-development]
links:none on file
slides:none on file

Logic programming is used to write declarative, snapshot-style web tests that assert and infer facts about pages using core.logic, with browser automation via clj-webdriver + webdriver-logic backed by Selenium WebDriver. Examples include finding GitHub’s login anchor and verifying a menu item gains class "active" after click; logic queries return all solutions (run) and support deterministic checks via s/s+ macros or non‑deterministic success. Large DOM searches are slow because Selenium uses HTTP RPC, so a raw namespace with enlive* parses page source for huge speed gains; it works but demands careful scoping and some developer/QA skill.

AI-written summary · about

  1. 0:00Introduction
  2. 1:53Core Logic
  3. 4:46Logic Engine
  4. 6:25Verification
  5. 8:37Web Testing
  6. 11:38Query Platforms
  7. 16:21Verify
  8. 20:35Exploring Logic Programming
  9. 25:38Fun and Games
  10. 25:48Risks
  11. 26:32Performance
  12. 30:43Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.