I'm kinda new in front-end testing, and I decided to get started with it using intern. Among all the problems that we all have when starting with new technologies, I'm having one that I find really annoying.
Currently, I'm doing this in intern.js
:
suites: [
'../../../../../test/intern/app/suite-one',
'../../../../../test/intern/app/suite-two',
'../../../../../test/intern/app/suite-three'
...
],
How can I specify a base path, so intern can run all tests inside that path?
Something like suites: [ '../../../test/intern/*' ]
. Is there any way to do that?
Already saw this (How do you specify test suites in Intern using a wildcard?), but it's not really good.
Also, is there any way to specify a base path to only tests suites? So I could get rid of the ugly ../../../
hell.