Prepare equipment:
- Bottles
- Capper
- Bottle caps
- Siphon
Prepare equipment:
(ns joejag.conway) | |
(def world #{[1 2] [2 2] [3 2]}) | |
(defn neighbours-of | |
[[x y]] | |
[ [(dec x) (inc y)] [x (inc y)] [(inc x) (inc y)] | |
[(dec x) y ] [(inc x) y ] | |
[(dec x) (dec y)] [x (dec y)] [(inc x) (dec y)] | |
]) |
Exercise - test cross browser, don't put validation on a field
Give recent feature, ask how to test
Mindset - agile?
Type of tester - Exploratory, Automation, Master Test Plan
What problems are you currently seeing? Can the devs fix it?
Notes from: https://www.rabbitmq.com/tutorials/amqp-concepts.html
Producer -> Broker (Exchange -> Queue) -> Consumer
(defn a [a b c] (println "thanks!")) ; => #'user/a | |
(try (/ 1 2) (catch Exception e (a 1 2))) ; => 1/2 | |
(try (/ 1 0) (catch Exception e (a 1 2))) ; => ArityException Wrong number of args (2) passed to: user/a clojure.lang.AFn.throwArity (AFn.java:429) |
def count_lines(directory, extension) | |
"find #{directory} -name '*.#{extension}' | xargs wc -l | tail -n 1" | |
end | |
def count_java_project(dir) | |
cmd = count_lines(dir + "/src/main", "java") | |
`#{cmd}`.chomp.split.first | |
end | |
def count_clojure_project(dir) |