Writing Test Cases for GNU Hyperbole: Lessons Learned - EmacsConf 2023

Writing Test Cases for GNU Hyperbole: Lessons Learned - EmacsConf 2023

EmacsConf and Emacs hangouts via YouTube Direct link

buffer-name

15 of 22

15 of 22

buffer-name

Class Central Classrooms beta

YouTube playlists curated by Class Central.

Classroom Contents

Writing Test Cases for GNU Hyperbole: Lessons Learned - EmacsConf 2023

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Introduction
  2. 2 ERT: Emacs Lisp Regression Testing
  3. 3 Assertions with `should`
  4. 4 Running a test case
  5. 5 Debug a test
  6. 6 Commercial break: Hyperbole
  7. 7 Instrument function on the fly
  8. 8 Mocking
  9. 9 cl-letf
  10. 10 Hooks
  11. 11 Side effects and initial buffer state
  12. 12 with-temp-buffer
  13. 13 make-temp-file
  14. 14 buffer-string
  15. 15 buffer-name
  16. 16 major-mode
  17. 17 unwind-protect
  18. 18 Input, with-simulated-input
  19. 19 Running all tests
  20. 20 Batch mode
  21. 21 Skipping tests
  22. 22 Conclusion

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.