~/talk

Test Your Code!

Talkat Dyalog '22 · 2022-10-09..10-13· [testing]
links:none on file
slides:none on file

Argues that small APL functions still need reproducible unit tests and shows Dyalog’s tooling: ]DTest / t-test for running suites, writing tests as dfns with empty guards, and the SuccessValue modifier to choose pass values. Demonstrates code coverage reporting (example results: 33% and 34% coverage), local multi‑interpreter runs via execute_local_test and a CI project called Theta (continuous integration) using Jenkins, with a full run taking about one hour and producing ~415 MB of results.

AI-written summary · about

  1. 0:00Introduction and focus on unit testing
  2. 2:20How to do unit testing
  3. 3:55Demonstration of ]DTest on a simple statistics program
  4. 9:50Writing tests as dfns with empty guards
  5. 12:23SuccessValue modifier to choose which value indicates test success
  6. 13:38Defining a test suite
  7. 15:25Code coverage to see which lines of code were executed by tests
  8. 20:32Testing across multiple interpreters on different platforms
  9. 26:08Conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.