<NME> test-loader.js
<BEF> ADDFILE
<MSG> Initial working version

<DFF> @@ -0,0 +1,25 @@
+var TestLoader = function() {
+};
+
+TestLoader.prototype = {
+  shouldLoadModule: function(moduleName) {
+    return (moduleName.match(/[-_]test$/));
+  },
+
+  loadModules: function() {
+    var moduleName;
+
+    for (moduleName in requirejs.entries) {
+      if (this.shouldLoadModule(moduleName)) {
+        require(moduleName);
+      }
+    }
+  }
+};
+
+TestLoader.load = function() {
+  new TestLoader().loadModules();
+};
+
+//export default TestLoader;
+TestLoader.load();
\ No newline at end of file

Initial working version