Pull request Compare This branch is 510 commits behind requirejs:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
..
Failed to load latest commit information.
anon
browsertests
circular
cjsSpace
commonjs/tests/modules/1.0
definedSpecified
delayedDefine
doh
domReady
error
exports
i18n
isBrowser
jquery
jsonp
layers
mapConfig
moduleConfig
nestedDefine
nestedRelativeRequire
nestedRequire
onResourceLoad
packages
pathArray
paths
plugins
relative
remoteUrls
requirePluginLoad
shim
text
undef
uniques
universal
urlfetch
version1
version2
NAMESPACE.html
README.md
afterload.html
afterloadreadystate.js
all-server.js
all.js
allj.sh
alln.sh
bar
baseUrl.html
circular-tests.js
circular.html
config.html
configRequirejs.html
dataMain.html
dataMain.js
depoverlap.html
depoverlap.js
dimple.js
dos.js
foo
func.js
funcFour.js
funcOne.js
funcThree.js
funcTwo.js
index.html
map.js
multiversion.html
one.js
simple-badbase.html
simple-nohead.html
simple-tests.js
simple.html
simple.js
tres.js
two.js
uno.js
workers.html
workers.js

README.md

RequireJS Testing

This is a list of things to test before doing a RequireJS release.

Update all subprojects via ./updatesubs.sh FIRST

Items in tests directory

  • All browsers: tests/doh/runner.html?testUrl=../all in all the browsers
  • go to tests/ run alln.sh and allj.sh
  • Optional, only do on major refactors: tests/commonjs, run each file in browser.

Node testing

Go to r.js project and run the following:

  • cd tests
  • ./alln.sh
  • node allNode.js
  • ./allj.sh
  • node ../../r.js index.js
  • node canvasTest.js (use nave and do the npm installs listed in the JS file)
  • cd ../build/tests
  • ./alln.sh
  • ./allj.sh

Try manual testing:

Sample jQuery project

Test the sample jQuery project, complete with running the optimizer, testing the output.

CoffeeScript plugin

Check it.

jQueryUI AMD project

Check it.