In the midst of my AngularJS 1.4 project, fashioned through the Gulp-Angular yeoman generator, I find myself facing a dilemma. With karma and gulp settings already in place, executing gulp test runs all *.spec.js files within the project. However, my desire is to selectively run just one or two spec.js files, or even better, indicate a folder for recursive file discovery.
Despite attempting to navigate down to a specific folder, all tests are still executed.
Modifications were made to the following lines:
karma.conf.js - path.join(conf.paths.src, '/**/*.spec.js')
unit-tests.js within the gulp directory - path.join(conf.paths.src, '/**/!(*.spec).js')
Yet, regardless of these adjustments, all test suites continue to be executed across the entire project. Frustrations mount as I grapple with this challenge!
Surely, there must exist a resolution to my predicament. Is there anyone who can steer me towards the correct methodology?