Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Test Your Code - Essential Tools for APL Function Testing

Dyalog User Meetings via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
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

Reviews

Start your review of Test Your Code - Essential Tools for APL Function Testing

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.