From a0bd971beb3609f90bf8d184567e2ae9ca050e85 Mon Sep 17 00:00:00 2001 From: Carl Eberhard Date: Tue, 5 May 2015 17:09:39 -0400 Subject: [PATCH] Testing, qunit: rename paired-collection-creator test to match actual mvc script, update README to include silent error warning --- test/qunit/README.txt | 7 +++++++ ...-creator.html => list-of-pairs-collection-creator.html} | 0 ...tion-creator.js => list-of-pairs-collection-creator.js} | 0 3 files changed, 7 insertions(+) rename test/qunit/tests/{paired-collection-creator.html => list-of-pairs-collection-creator.html} (100%) rename test/qunit/tests/{paired-collection-creator.js => list-of-pairs-collection-creator.js} (100%) diff --git a/test/qunit/README.txt b/test/qunit/README.txt index d5d198956bd..a103a4db238 100644 --- a/test/qunit/README.txt +++ b/test/qunit/README.txt @@ -23,3 +23,10 @@ From Web Browser (no additional dependencies): Just open test HTML file in Web Browser. +Note: + The combination of requirejs and phantomjs used to load some of these +scripts can lead to error suppression. If any of the dependencies of the +scripts you're requiring throw an error, grunt+phantom+require will not +show a visible error (even with --verbose and/or --debug). You will instead +see a timeout error thrown from phantomjs. + This generally(?) applies only to errors when evaluating the dependency. \ No newline at end of file diff --git a/test/qunit/tests/paired-collection-creator.html b/test/qunit/tests/list-of-pairs-collection-creator.html similarity index 100% rename from test/qunit/tests/paired-collection-creator.html rename to test/qunit/tests/list-of-pairs-collection-creator.html diff --git a/test/qunit/tests/paired-collection-creator.js b/test/qunit/tests/list-of-pairs-collection-creator.js similarity index 100% rename from test/qunit/tests/paired-collection-creator.js rename to test/qunit/tests/list-of-pairs-collection-creator.js