forked from jquery/jquery
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
200 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
<!-- markdownlint-disable MD024 --> | ||
|
||
# Testing (and building) jQuery | ||
|
||
> [!IMPORTANT] | ||
|
@@ -21,6 +23,36 @@ | |
- Run `make test` from the root folder of the repo | ||
- Open `/tests/index.html` in your browser --> | ||
|
||
##### 1.4.4 / 1.4.5-sec | ||
|
||
###### Prerequisites | ||
|
||
- Install php 5.6 | ||
- For Macs, We recommend using [homebrew-php](https://github.com/shivammathur/homebrew-php) | ||
|
||
###### Running the tests | ||
|
||
- Checkout the `1.4.4` or `1.4.5-sec` branch | ||
- From the root folder of the repo: | ||
- `git clone [email protected]:qunitjs/qunit.git --depth=1 test/qunit` | ||
- `cd test/qunit` | ||
- Get the closest QUnit commit to the jQuery version/release: | ||
- `git checkout 25e4489a5f280e8f0a22ca99ecb401338bb75308` | ||
- `cd ../..` | ||
- `git clone [email protected]:jquery/sizzle.git --depth=1 src/sizzle` | ||
- `cd src/sizzle` | ||
- `git fetch --tags` | ||
- Get corresponding sizzle branch for this jQuery version/release: | ||
- `git checkout 1.4.4` | ||
- `cd ..` | ||
- Create symlink to src in test folder: | ||
- `ln -s ../src src` | ||
- `cd ..` | ||
- `make jquery` | ||
- Run php server: | ||
- `php -S 127.0.0.1:8000 -t test` | ||
- Open `/tests/index.html` in your browser | ||
|
||
##### 1.6.4 / 1.6.5-sec | ||
|
||
###### Prerequisites | ||
|
@@ -59,19 +91,34 @@ You can run the A/B tests locally in CI mode or manually in the browser | |
|
||
## Building | ||
|
||
<!-- markdownlint-disable-next-line MD024 --> | ||
### 1.2.6 / 1.2.7-sec | ||
|
||
- Checkout the `1.2.6` or `1.2.7-sec` branch | ||
- Run `make jquery` from the root folder of the repo | ||
- this will output `./dist/jquery.js` | ||
- This will output `./dist/jquery.js` | ||
|
||
<!-- markdownlint-disable-next-line MD024 --> | ||
### 1.3.2 / 1.3.3-sec | ||
|
||
- Checkout the `1.3.2` or `1.3.3-sec` branch | ||
- Run `make jquery` from the root folder of the repo | ||
- this will output `./dist/jquery.js` | ||
- This will output `./dist/jquery.js` | ||
|
||
### 1.4.4 / 1.4.5-sec | ||
|
||
- Checkout the `1.4.4` or `1.4.5-sec` branch | ||
- From the root folder of the repo: | ||
- `git clone [email protected]:qunitjs/qunit.git --depth=1 test/qunit` | ||
- `cd test/qunit` | ||
- Get the closest QUnit commit to the jQuery version/release: | ||
- `git checkout 25e4489a5f280e8f0a22ca99ecb401338bb75308` | ||
- `cd ../..` | ||
- `git clone [email protected]:jquery/sizzle.git --depth=1 src/sizzle` | ||
- `cd src/sizzle` | ||
- `git fetch --tags` | ||
- Get corresponding sizzle branch for this jQuery version/release: | ||
- `git checkout 1.4.4` | ||
- `cd ../..` | ||
- Run `make jquery` | ||
- This will output `./dist/jquery.js` | ||
|
||
<!-- markdownlint-disable-next-line MD024 --> | ||
### 1.6.4 / 1.6.5-sec |
Oops, something went wrong.