Skip to content

Convert test infrastructure to AMD #1528

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 29 commits into from

Conversation

scottgonzalez
Copy link
Member

This PR replaces #1511.

TODO:

Either now or near future:

  • Replace custom QUnit.assert.close() with qunit-assert-close module
  • Move domEqual() to its own module
  • Update visual tests to use AMD

@scottgonzalez scottgonzalez force-pushed the amd-tests2 branch 6 times, most recently from 0f3b6e1 to 315d16b Compare April 7, 2015 13:22
@jzaefferer
Copy link
Member

Reviewed as-is, looks good. I like the renames.

@scottgonzalez
Copy link
Member Author

Reviewed as-is, looks good.

That's good because the remaining changes are trivial :-)

@arschmitz
Copy link
Member

Just for the record I reviewed all the changes with @scottgonzalez over irc / skype and am +1 on everything.

scottgonzalez added a commit that referenced this pull request Apr 9, 2015
Ref #10119
Ref gh-1528

* Adds RequireJS and relies on AMD for loading dependencies.
* Updates to grunt-contrib-qunit 0.6.0.
* Convert `domEqual()` to a proper QUnit assertion.
* Introduces two bootstrap files (JS and CSS) which use `data-` attributes to
reduce the amount of boilerplate needed in each test
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
Should eventually replace with qunit-assert-close.

Ref #10119
Ref gh-1528
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
scottgonzalez added a commit that referenced this pull request Apr 9, 2015
Moved QUnit assertion dependencies from `lib/bootstrap` to `lib/qunit`.

Corrected bad draggable assertions.

Ref gh-1528
@scottgonzalez scottgonzalez deleted the amd-tests2 branch April 27, 2015 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants