Automated tests of content types
Submitted by serettig on Sat, 12/07/2019 - 19:03
Forums:
Hi,
I've been wondering a lot recently whether it's possible to test H5P content types in an automated way, e.g. using Jest or Mocha or some other testing framework. What I mean is testing UI functionality, user interactions etc. From what I've gathered, testing is a major issue when the core team must review PRs due to the many possible places in which regressions and unexpected behaviour can occur. Has anyone ever tried working in this area?
Sebastian
papi Jo
Thu, 12/19/2019 - 11:21
Permalink
Hi Sebastian
On your github repo, for your h5p-advanced-blanks module, I see you do have a tests directory. How is that different from using Jest or Mocha etc.? And how do your tests work, anyway?