Finance Certifications Goldman Sachs & Amazon Teams Trust
Get 20% off all career paths from fullstack to AI
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Explore essential tools for testing APL functions in this 27-minute conference talk by Michael Baas at Dyalog '22. Learn how to enhance code quality through unit testing, starting with an introduction to the concept and its importance. Discover the ]DTest tool through a practical demonstration on a simple statistics program. Master techniques like writing tests as dfns with empty guards and using the SuccessValue modifier. Delve into defining test suites and utilizing code coverage to assess test effectiveness. Gain insights on testing across multiple interpreters and platforms to ensure robust code. Elevate your APL programming skills and improve the reliability of your delivered code with these professional testing practices.
Syllabus
Introduction and focus on unit testing
How to do unit testing
Demonstration of ]DTest on a simple statistics program
Writing tests as dfns with empty guards
SuccessValue modifier to choose which value indicates test success
Defining a test suite
Code coverage to see which lines of code were executed by tests
Testing across multiple interpreters on different platforms
Conclusion
Taught by
Dyalog User Meetings