It is my understanding that running
rake qunit:test should run all of the qunit tests in Discourse, including those for any installed plugins. However, when I run the task in the docker development environment it only runs the core discourse tests (1980 of them).
When I run exactly the same command using my native mac development environment, it picks up the tests for the plugins (e.g. the 'poll' plugin), which results in more than 1980 tests, and I have no idea what's causing this difference.
This exact same problem seems to occur in the Discourse Travis build - looking at this recent log, it shows
Time: 151618ms, Total: 1980, Passed: 1980, Failed: 0
So it's not running the qunit tests for all the core plugins, even though it's running their rspec tests.
I've tried investigating further but don't really know where to look. I'm guessing there must be some kind of regex/filter which locates all the qunit test files?