diff --git a/docs/QUnit/module.md b/docs/QUnit/module.md index 1f38200e8..1de93655e 100644 --- a/docs/QUnit/module.md +++ b/docs/QUnit/module.md @@ -1,6 +1,6 @@ --- layout: default -title: module +title: QUnit.module() description: Group related tests under a single label. categories: - main @@ -9,7 +9,7 @@ redirect_from: - "/module/" --- -## `QUnit.module( name [, hooks] [, nested ] )` +`QUnit.module( name [, hooks] [, nested ] )` Group related tests under a single label. diff --git a/docs/QUnit/only.md b/docs/QUnit/only.md index 4121c3a0c..49a4c25b4 100644 --- a/docs/QUnit/only.md +++ b/docs/QUnit/only.md @@ -1,12 +1,12 @@ --- layout: default -title: only +title: QUnit.only() description: Adds a test to exclusively run, preventing any other tests not defined with `QUnit.only()` from running. categories: - main --- -## `QUnit.only( name, callback )` +`QUnit.only( name, callback )` Adds a test to exclusively run, preventing any other tests not defined with `QUnit.only()` from running. diff --git a/docs/QUnit/skip.md b/docs/QUnit/skip.md index 55901441e..a054ef3a5 100644 --- a/docs/QUnit/skip.md +++ b/docs/QUnit/skip.md @@ -1,12 +1,12 @@ --- layout: default -title: skip +title: QUnit.skip() description: Adds a test like object to be skipped categories: - main --- -## `QUnit.skip( name )` +`QUnit.skip( name )` Adds a test like object to be skipped diff --git a/docs/QUnit/start.md b/docs/QUnit/start.md index a1af405e7..caa130122 100644 --- a/docs/QUnit/start.md +++ b/docs/QUnit/start.md @@ -1,6 +1,6 @@ --- layout: default -title: start +title: QUnit.start() description: QUnit.start() is used to start an async test set categories: - main @@ -9,8 +9,6 @@ redirect_from: - "/start/" --- -## `QUnit.start()` - `QUnit.start()` must be used to start a test run that has [`QUnit.config.autostart`](/config/QUnit.config) set to `false`.
Warning: This method was previously used to control async tests on text contexts along with `QUnit.stop`. For asynchronous tests, use [`assert.async`](/assert/async) instead.
diff --git a/docs/QUnit/test.md b/docs/QUnit/test.md index 0bcdaaeb7..8c4bae32a 100644 --- a/docs/QUnit/test.md +++ b/docs/QUnit/test.md @@ -1,6 +1,6 @@ --- layout: default -title: test +title: QUnit.test() description: Add a test to run. categories: - main @@ -12,7 +12,7 @@ redirect_from: - "/test/" --- -## `QUnit.test( name, callback )` +`QUnit.test( name, callback )` Add a test to run. diff --git a/docs/QUnit/todo.md b/docs/QUnit/todo.md index 405aaf221..6bcff8e71 100644 --- a/docs/QUnit/todo.md +++ b/docs/QUnit/todo.md @@ -1,12 +1,12 @@ --- layout: default -title: todo +title: QUnit.todo() description: Adds a test which expects at least one failing assertion during its run. categories: - main --- -## `QUnit.todo( name, callback )` +`QUnit.todo( name, callback )` Adds a test which expects at least one failing assertion during its run. diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index cc06390c8..0c8bb7960 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -3,59 +3,60 @@ ---QUnit is a powerful, easy-to-use JavaScript unit test suite. - If you're new to QUnit or even just new to unit testing, you might - want to check out the Introduction - to JavaScript Unit Testing. There's also a - QUnit Cookbook on the - main site.
+ If you're new to QUnit, check out Getting Started with QUnit on the main site.QUnit has no dependencies and works in all browsers.
diff --git a/docs/_layouts/wrapper.html b/docs/_layouts/wrapper.html index 163b5f830..59051a8c1 100644 --- a/docs/_layouts/wrapper.html +++ b/docs/_layouts/wrapper.html @@ -15,50 +15,80 @@ skip to content -