AltLUG Git
Git-repositories of Altai Linux User Group
Jörn Zaefferer [Wed, 11 May 2011 11:31:40 +0000 (13:31 +0200)]
Modify document.title when suite is done to show success/failure in tab,
allows you to see the overall result without seeing the tab content.
Jörn Zaefferer [Thu, 5 May 2011 10:51:03 +0000 (03:51 -0700)]
Merge pull request #107 from sexyprout/master
Set generic font
sexyprout [Thu, 5 May 2011 10:07:11 +0000 (12:07 +0200)]
Set a generic font
jzaefferer [Wed, 20 Apr 2011 15:40:12 +0000 (17:40 +0200)]
Add/update headers
jzaefferer [Fri, 15 Apr 2011 10:22:16 +0000 (12:22 +0200)]
Drop support for deprecated #main in favor of #qunit-fixture. If this breaks your testsuite, replace id="main" with id="qunit-fixture". Fixes #103
jzaefferer [Fri, 15 Apr 2011 10:18:52 +0000 (12:18 +0200)]
Remove the same key as the one being set. Partial fix for #101
jzaefferer [Sun, 20 Mar 2011 16:14:32 +0000 (17:14 +0100)]
Don't modify expected-count when checking pollution. The failing
assertion isn't expected, so shouldn't be counted. And if expect wasn't
used, the count is misleading.
jzaefferer [Sun, 20 Mar 2011 15:18:58 +0000 (16:18 +0100)]
Fix order of noglobals check to produce correct introduced/delete error messages
jzaefferer [Tue, 15 Mar 2011 14:13:18 +0000 (15:13 +0100)]
Prepend module name to sessionStorage keys to avoid conflicts
jzaefferer [Tue, 15 Mar 2011 13:51:35 +0000 (14:51 +0100)]
Store filter-tests only when checked
jzaefferer [Tue, 15 Mar 2011 13:50:14 +0000 (14:50 +0100)]
Write to sessionStorage only bad tests
Scott González [Fri, 11 Mar 2011 15:37:09 +0000 (10:37 -0500)]
Moved QUnit.url() defintion after QUnit properties are merged into the global scope. Fixes #93 - QUnit url/extend function breaking urls in jQuery ajax test component
jzaefferer [Tue, 8 Mar 2011 22:37:53 +0000 (23:37 +0100)]
Add a "Rerun" link to each test to replce the dblclick (still supported,
for now).
Scott González [Fri, 4 Mar 2011 15:39:57 +0000 (10:39 -0500)]
Fixed the regex for parsing the name of a test when double clicking to filter.
jzaefferer [Thu, 3 Mar 2011 23:13:44 +0000 (00:13 +0100)]
Merge remote branch 'scottgonzalez/url'
Conflicts:
qunit/qunit.js
Scott González [Thu, 3 Mar 2011 20:38:32 +0000 (15:38 -0500)]
Added checkboxes to show which flags are currently on and allow toggling them.
Scott González [Thu, 3 Mar 2011 20:01:45 +0000 (15:01 -0500)]
Retain all querystring parameters when filtering a test via double click.
Scott González [Thu, 3 Mar 2011 18:39:38 +0000 (13:39 -0500)]
Added better querystring parsing. Now storing all querystring params in QUnit.urlParams so that we can carry the params forward when filtering to a specific test. This removes the ability to specify multiple filters.
jzaefferer [Wed, 2 Mar 2011 23:14:59 +0000 (00:14 +0100)]
Make reordering optional (QUnit.config.reorder = false) and optimize
"Hide passed tests" mode by also hiding "Running [testname]" entries.
Scott González [Mon, 28 Feb 2011 13:40:53 +0000 (08:40 -0500)]
Added missing semicolons and wrapped undefined key in quotes.
jzaefferer [Wed, 16 Feb 2011 07:22:40 +0000 (08:22 +0100)]
Optimize test hiding, add class on page load if stored in sessionStorage
Anton M [Tue, 15 Feb 2011 23:25:25 +0000 (00:25 +0100)]
Optimize the hiding of passed tests.
jzaefferer [Tue, 15 Feb 2011 15:10:18 +0000 (16:10 +0100)]
Position test results above test list, making it visible without ever
having to scroll. Create a placeholder to avoid pushing down results
later.
jzaefferer [Tue, 15 Feb 2011 14:57:59 +0000 (15:57 +0100)]
Don't check for existing qunit-testresult element, it gets killed on
init anyway.
jzaefferer [Wed, 12 Jan 2011 20:29:48 +0000 (21:29 +0100)]
Added URL flag ?notrycatch (ala ?noglobals) for debugging exceptions.
Won't try/catch test code, giving better debugging changes on the
original exceptions. Fixes #72
jzaefferer [Wed, 12 Jan 2011 20:22:30 +0000 (21:22 +0100)]
Always show quni-toolbar (if at all specified), persist checkbox via
sessionStorage. Fixes #47
jzaefferer [Wed, 12 Jan 2011 20:04:34 +0000 (21:04 +0100)]
Use non-html testname for calls to fail(). Fixes #77
jzaefferer [Wed, 12 Jan 2011 19:57:40 +0000 (20:57 +0100)]
Overhaul of QUnit.callbacks. Consistent single argument with related
properties, with additonal runtime property for QUnit.done
jzaefferer [Wed, 12 Jan 2011 18:17:08 +0000 (19:17 +0100)]
Extended test/logs.html to capture more of the callbacks.
jzaefferer [Thu, 6 Jan 2011 09:02:03 +0000 (10:02 +0100)]
Fixed moduleStart/Done callbacks. Added test/logs.html to test these
callbacks. To be extended.
jzaefferer [Tue, 4 Jan 2011 08:35:16 +0000 (09:35 +0100)]
Update copyright and license header. Fixes #61
jzaefferer [Tue, 4 Jan 2011 08:34:36 +0000 (09:34 +0100)]
Formatting fix.
jzaefferer [Tue, 4 Jan 2011 08:33:55 +0000 (09:33 +0100)]
Use a semaphore to synchronize stop() and start() calls. Fixes #76
jzaefferer [Mon, 27 Dec 2010 13:12:58 +0000 (14:12 +0100)]
Merge branch 'master' of https://github.com/paulirish/qunit into paulirish-master
jzaefferer [Mon, 27 Dec 2010 13:08:41 +0000 (14:08 +0100)]
Added two tests for previous QUnit.raises behaviour. For #69
Oleg Slobodskoi @oleg008 [Tue, 21 Dec 2010 15:53:32 +0000 (16:53 +0100)]
add optional 2. arg to QUnit.raises #69.
Paul Irish [Sun, 19 Dec 2010 03:55:28 +0000 (19:55 -0800)]
fix references inside Complex Instances Nesting to what was originally intended.
jzaefferer [Thu, 9 Dec 2010 10:56:31 +0000 (11:56 +0100)]
Qualify calls to ok() in raises() for compability with CLI enviroments.
jzaefferer [Thu, 9 Dec 2010 10:55:36 +0000 (11:55 +0100)]
Fix done() handling, check for blocking, not block property
jzaefferer [Thu, 9 Dec 2010 10:16:37 +0000 (11:16 +0100)]
Fix moduleStart/Done and done callbacks.
jzaefferer [Wed, 8 Dec 2010 09:26:13 +0000 (10:26 +0100)]
Replacing sessionStorage test with the one from Modernizr/master (instead of current release). Here's hoping it'll work for some time.
jzaefferer [Tue, 7 Dec 2010 21:46:53 +0000 (22:46 +0100)]
Updated test for availibility of sessionStorage, based on test from Modernizr. Fixes #64
jzaefferer [Sat, 4 Dec 2010 16:35:00 +0000 (17:35 +0100)]
Defer test execution when previous run passed, persisted via sessionStorage. Fixes #49
jzaefferer [Sat, 4 Dec 2010 15:57:20 +0000 (16:57 +0100)]
Refactored module handling and queuing to enable selective defer of test runs.
jzaefferer [Sat, 4 Dec 2010 14:29:27 +0000 (15:29 +0100)]
Move assertions property from config to Test
jzaefferer [Sat, 4 Dec 2010 14:24:02 +0000 (15:24 +0100)]
Move expected-tests property from config to Test
jzaefferer [Sat, 4 Dec 2010 14:15:44 +0000 (15:15 +0100)]
Refactored test() method to delegate to a Test object to encapsulate all properties and methods of a single test, allowing further modifications.
jzaefferer [Sun, 28 Nov 2010 12:43:16 +0000 (13:43 +0100)]
Adding output of sourcefile and linenumber of failed assertions (except ok()). Only limited cross-browser support for now. Fixes #60
jzaefferer [Sat, 27 Nov 2010 16:11:16 +0000 (17:11 +0100)]
Drop 'hide missing tests' feature. Fixes #48
jzaefferer [Sat, 27 Nov 2010 15:45:17 +0000 (16:45 +0100)]
Adding readme. Fixes #58
jzaefferer [Sat, 27 Nov 2010 15:35:39 +0000 (16:35 +0100)]
Merge branch 'prettydiff'
Conflicts:
qunit/qunit.js
test/test.js
Nikita Vasilyev [Mon, 13 Sep 2010 18:31:18 +0000 (22:31 +0400)]
Improve jsDump output with formatted diffs.
jzaefferer [Sat, 27 Nov 2010 11:36:52 +0000 (12:36 +0100)]
Cleanup whitespace
jzaefferer [Sat, 27 Nov 2010 11:27:45 +0000 (12:27 +0100)]
Cleanup whitespace
Benjamin Lee [Sat, 27 Nov 2010 03:40:54 +0000 (21:40 -0600)]
Added additional guards around browser specific code and cleaned up jsDump code
Benjamin Lee [Sat, 27 Nov 2010 03:40:18 +0000 (21:40 -0600)]
Added guards around tests which are only for browsers
Benjamin Lee [Tue, 16 Nov 2010 03:56:11 +0000 (21:56 -0600)]
cleaned up setTimeout undefined checking and double done on test finish
Benjamin Lee [Mon, 15 Nov 2010 03:17:12 +0000 (21:17 -0600)]
fixing .gitignore
Benjamin Lee [Sun, 14 Nov 2010 23:21:31 +0000 (17:21 -0600)]
making window setTimeout query more consistent
jzaefferer [Fri, 5 Nov 2010 10:51:06 +0000 (11:51 +0100)]
Moved expect-code back to beginning of function, where it belongs. Fixes #52
Nikita Vasilyev [Thu, 4 Nov 2010 10:38:41 +0000 (13:38 +0300)]
Bread crumb in header: Link to suite without filters, add link to current page based on the filter, if present. Fixes #50
jzaefferer [Thu, 4 Nov 2010 09:32:45 +0000 (10:32 +0100)]
Make the toolbar element optional when checking for show/hide of test results. Fixes #46
jzaefferer [Thu, 4 Nov 2010 09:26:45 +0000 (10:26 +0100)]
Adding headless.html to manually test logging and verify that QUnit works without output elements. Keeping #qunit-fixture as a few tests actually use that.
jzaefferer [Wed, 3 Nov 2010 16:12:58 +0000 (17:12 +0100)]
Fix for QUnit.moduleDone, get rid of initial bogus log. Fixes #33
jzaefferer [Wed, 3 Nov 2010 15:46:41 +0000 (16:46 +0100)]
Pass raw data (result, message, actual, expected) as third argument to QUnit.log. Fixes #32
jzaefferer [Wed, 3 Nov 2010 15:17:37 +0000 (16:17 +0100)]
Dump full exception. Not pretty, but functional (see issue Pretty diff for pretty output). Fixes #31
jzaefferer [Wed, 3 Nov 2010 15:10:43 +0000 (16:10 +0100)]
Don't let QUnit.reset() cause assertions to run. Manually applied from Scott Gonzalez branch. Fixes #34
Scott González [Tue, 7 Sep 2010 18:16:30 +0000 (14:16 -0400)]
Added missing semicolons. Fixes #37
Nikita Vasilyev [Mon, 13 Sep 2010 17:34:49 +0000 (21:34 +0400)]
Show okay/failed instead of undefined. Fixes #38
jzaefferer [Wed, 3 Nov 2010 14:52:13 +0000 (15:52 +0100)]
Expose push as QUnit.push to build custom assertions. Fixes #39
Paul Elliott [Tue, 19 Oct 2010 11:06:08 +0000 (07:06 -0400)]
Respect filter pass selection when writing new results. Fixes #43
jzaefferer [Wed, 3 Nov 2010 14:26:06 +0000 (15:26 +0100)]
Cleanup tests, removing asyncTest-undefined check and formatting
jzaefferer [Mon, 1 Nov 2010 11:55:51 +0000 (12:55 +0100)]
Reset: Fall back to innerHTML when jQuery isn't available. Fixes #44
jeresig [Thu, 23 Sep 2010 04:14:34 +0000 (00:14 -0400)]
Merge branch 'master' of github.com:jquery/qunit
jeresig [Thu, 23 Sep 2010 04:14:27 +0000 (00:14 -0400)]
reset doesn't exist here - fixes #28.
Leon Sorokin [Thu, 29 Jul 2010 15:50:39 +0000 (10:50 -0500)]
- less css cruft, better readability
- replaced inline style for test counts with "counts" class
- test counts now use a "failed"/"passed" vs "pass"/"fail", shorter/more distinct selectors
- pulled all test counts styling together and up (they're always the same regardless of section pass/fail state)
jzaefferer [Fri, 3 Sep 2010 10:41:32 +0000 (12:41 +0200)]
Adding .gitignore file
jzaefferer [Sun, 29 Aug 2010 15:44:11 +0000 (17:44 +0200)]
Removing diff test - diffing works fine, as the browser collapses whitespace in its output, but the test can't do that and isn't worth fixing.
jzaefferer [Sun, 29 Aug 2010 15:18:31 +0000 (17:18 +0200)]
Always synchronize the done-step (it'll set the timeout when necessary), fixes timing race conditions.
jzaefferer [Sun, 29 Aug 2010 15:17:26 +0000 (17:17 +0200)]
Insert location.href as an anchor around the header. Fixes issue #29
Leon Sorokin [Thu, 29 Jul 2010 14:06:45 +0000 (22:06 +0800)]
- kill double ;; in escapeHtml. oops
jzaefferer [Thu, 29 Jul 2010 13:23:01 +0000 (15:23 +0200)]
Removed html escaping from QUnit.diff, as input is already escaped, only leads to double escaping. Replaced newlines with single whitespace.
Douglas Neiner [Thu, 29 Jul 2010 12:59:47 +0000 (08:59 -0400)]
Optimized and cleaned up CSS file
Optimizations made:
- Moved font family and size definitions to the top
- Changed most of the pass/fail colors to single line
format for easier editing.
- Split pass/fail styles into groups of Pass and Fail
- Added comment headings to sections. Additionally used
two star comments so they show up in TextMates "Go To Symbol"
window.
- Reordered general sections to follow actual page layout
(i.e. header, tests, footer)
- Removed tag name scopes on the id selectors. In this setting,
it is unlikely that this file will be used on other pages
where the id will be duplicated.
jzaefferer [Wed, 28 Jul 2010 15:15:22 +0000 (17:15 +0200)]
Making the reset-method non-global (only module, test and assertions should be global), and fixing the fixture reset by using jQuery's html() method again, doesn't work with innerHTML, yet
jzaefferer [Wed, 28 Jul 2010 08:03:52 +0000 (10:03 +0200)]
Introducing #qunit-fixture element, deprecating the (never documented) #main element. Doesn't require inline styles and is now independent of jQuery.
jzaefferer [Tue, 27 Jul 2010 10:50:54 +0000 (12:50 +0200)]
Ammending previous commit: Remove jQuery-core specific resets (will be replaced within jQuery testsuite). Fixes issue #19 - QUnit.reset() removes global jQuery ajax event handlers
jzaefferer [Tue, 27 Jul 2010 09:29:13 +0000 (11:29 +0200)]
Remove jQuery-core specific resets (will be replaced within jQuery testsuite). Fixes issue #19 - QUnit.reset() removes global jQuery ajax event handlers
jzaefferer [Mon, 26 Jul 2010 17:46:18 +0000 (19:46 +0200)]
Cleaning up rubble from the previous commit.
jzaefferer [Mon, 26 Jul 2010 17:42:30 +0000 (19:42 +0200)]
Added raises assertion, reusing some of kennsnyder's code.
jzaefferer [Mon, 26 Jul 2010 17:25:38 +0000 (19:25 +0200)]
Merged kensnyder's object detection code. Original message: Streamlined object detection and exposed QUnit.objectType as a function.
jzaefferer [Mon, 26 Jul 2010 17:09:12 +0000 (19:09 +0200)]
Fixed some bad formatting.
jzaefferer [Mon, 26 Jul 2010 17:08:44 +0000 (19:08 +0200)]
Move various QUnit properties below the globals-export to avoid init becoming a global method. Fixes issue #11 - Remove 'init' function from a global namespace
jzaefferer [Mon, 26 Jul 2010 17:02:20 +0000 (19:02 +0200)]
Improved output when expected != actual: Output both only then, and add a diff. Fixes issue #10 - Show diff if equal() or deepEqual() failed
jzaefferer [Mon, 26 Jul 2010 16:20:47 +0000 (18:20 +0200)]
Expand failed tests on load. Fixes issue #8 - Failed tests expanded on load
jzaefferer [Mon, 26 Jul 2010 16:16:51 +0000 (18:16 +0200)]
Set location.search for url-filtering instead of location.href. Fixes issue #7 - Modify location.search instead of location.href on test double-click
jzaefferer [Mon, 26 Jul 2010 16:11:40 +0000 (18:11 +0200)]
Add QUnit.begin() callback. Fixes issue #6 - Add 'start' callback.
Leon Sorokin [Thu, 22 Jul 2010 14:42:46 +0000 (22:42 +0800)]
add css style for result (".test-actual") in passed tests
jzaefferer [Thu, 22 Jul 2010 08:43:18 +0000 (10:43 +0200)]
Fixed output escaping by using leeoniya's custom escaping along with innerHTML. Also paves the way for outputting diffs.
jzaefferer [Thu, 22 Jul 2010 08:26:51 +0000 (10:26 +0200)]
Cleanup
jzaefferer [Thu, 22 Jul 2010 08:24:43 +0000 (10:24 +0200)]
Revert "Revert part of bad merge, back to using createTextNode"
This reverts commit
9c5a8db1db279c473fd3d61675312c18a7a170d7.