Automated tests of content types

serettig's picture
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's picture

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?