Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/YOURLS/YOURLS-unit-tests
YOURLS Unit Tests
https://github.com/YOURLS/YOURLS-unit-tests
4ebadd0c4351daf1af09cc4c5d5a776a77162ae5 authored about 10 years ago by ozh <[email protected]>
things would be so much faster if I had an extra arm!
130e27a743c0998234d2f9c67897fac5c8d11499 authored about 10 years ago by ozh <[email protected]>6e0de8294e8033685350ac8cad37373583857487 authored about 10 years ago by ozh <[email protected]>
Syntax: phpunit --group something
7ae61ae57b75bcb2f3039753a75a1b88c0c6bd63 authored about 10 years ago by ozh <[email protected]>b0c394a9498d9b2517eb709b8f6dd3573b1cfbfb authored about 10 years ago by ozh <[email protected]>
18f6764682c4c91b390baa98403b9cf42fb0d6b1 authored about 10 years ago by ozh <[email protected]>
ea999dd2a7a2ae23e8fa9062787a20679df8bede authored about 10 years ago by ozh <[email protected]>
953bacf985ce095ada5161cf0905ed7959d8b425 authored about 10 years ago by ozh <[email protected]>
14f434bd04599435e037f494578a456433b4711b authored about 10 years ago by ozh <[email protected]>
bcb477daa7872b3b2b729607d410d2b47c559061 authored about 10 years ago by ozh <[email protected]>
f91253fb72f493fc17d3808292c03c6f091a286e authored about 10 years ago by ozh <[email protected]>
790353103f76d6c110c82dd07bf1831afa5e558f authored about 10 years ago by ozh <[email protected]>
8654e51c9719de81657b86ae5a93194a55f43542 authored about 10 years ago by ozh <[email protected]>
ddb227767e04d2079de9a833d3f584ec4e56f7a0 authored about 10 years ago by ozh <[email protected]>
10b8249c09e7bc9800d2291e4818c348e13caa07 authored about 10 years ago by ozh <[email protected]>
fdb37feb432dc8e85ac7891cea5171a9251e7fe7 authored almost 11 years ago by LeoColomb <[email protected]>
ab273c4abb380b07820f83fc84b118b15033b3ed authored almost 11 years ago by LeoColomb <[email protected]>
ec0ecb79d6802ee726032f9055a369dd00419f05 authored almost 11 years ago by LeoColomb <[email protected]>
YOURLS_ADMIN_LOCATION for v2.0
e7a42a0af5e5460b516da5180b939bf07c1daec7 authored almost 11 years ago by Léo Colombaro <[email protected]>Include Composer autoload if applicable
6e7d635fbd02781b84e57250fd1163d1b148f396 authored almost 11 years ago by Léo Colombaro <[email protected]>See https://github.com/YOURLS/YOURLS/pull/1635
941f0045868e141b123307101090978fae42bfaf authored almost 11 years ago by ozh <[email protected]>Dead & alive DB tests using PDO & MySQL(i)
4212e4340765c9522bf4e53cc255bb988921bf5b authored almost 11 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>c1c5531f11880517f1ff9520cdc33976f0eaee60 authored almost 11 years ago by ozh <[email protected]>
7c5265421bb0de8f6d391647f58228396bf1978f authored almost 11 years ago by ozh <[email protected]>
a6a8ba7ccd2a33075eb1569adcdebdaff02f5198 authored almost 11 years ago by ozh <[email protected]>
6cef69381d3f793273c3d17f587fbe6e26d15c35 authored almost 11 years ago by ozh <[email protected]>
5efe3fdd004774b7fa67e0dbadb3c917750bc383 authored almost 11 years ago by ozh <[email protected]>
94d5ae9419c4b92fa8285decb4350a7c9fce167d authored almost 11 years ago by ozh <[email protected]>
acc2b16e4617652b63a6c64ca8f11a04bf3a0d3d authored almost 11 years ago by ozh <[email protected]>
4e08d970aa3d1748a62f385b12bd9352b14773e4 authored almost 11 years ago by ozh <[email protected]>
8bd92e11f98e68dc31d394dc6f4a8ec889dcb140 authored about 11 years ago by ozh <[email protected]>
Make it completely random:
- more accurate
- should fix PHP 5.2 discrepancy ?
715390d384f9727652064442c51a1cd8e09010c5 authored about 11 years ago by ozh <[email protected]>
16f4d46e73d0613efc8597608d1b42ef6ad41a74 authored about 11 years ago by ozh <[email protected]>
1c0fe1de923bdc4f43ae28766932f18f4172916f authored about 11 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>
fe36b853978e368c8bf482cbb4ead3eeb88b6255 authored about 11 years ago by ozh <[email protected]>
5dc1157178eccc8068d49a829050570c8403266f authored about 11 years ago by ozh <[email protected]>
8b318cf9acac381b1c71a59e1f88e016bd46093f authored about 11 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>
25be522b6e8bfec3ff8ca13ca8691afd2116a34c authored about 11 years ago by ozh <[email protected]>
32c278ee4f99e6c9b1b5fa818d0b8025a0e51a4f authored about 11 years ago by ozh <[email protected]>
113ef22827aa6e253789af9a9f5e9eafaddb26c4 authored about 11 years ago by ozh <[email protected]>
0511575834690cc28fd3902dae26760687c1236c authored about 11 years ago by ozh <[email protected]>
64b359e14aa91f14994c574106ab783c431a3382 authored over 11 years ago by LeoColomb <[email protected]>
56a55027e86892c0240603e8dd566c9b5ba883b8 authored over 11 years ago by ozh <[email protected]>
688e036432e66318f429ddb8a087a30153beaebe authored over 11 years ago by ozh <[email protected]>
b54945f481a6d4e694c57043a364b6794967c28a authored over 11 years ago by LeoColomb <[email protected]>
This reverts commit 52bddd11503a22f05727b04491c5291dbe3bbff5.
408c625a09d06e1e6c977c4450d1494a4dac535b authored over 11 years ago by LeoColomb <[email protected]>bd59d9e915556f95f6694943413728775dbbaad7 authored over 11 years ago by ozh <[email protected]>
2e5baf52ce94a9881780e92bb7bd0e511c02a70f authored over 11 years ago by ozh <[email protected]>
e5b6a10d84fcd7ecef278f0eae432bb1a0ca1f2d authored over 11 years ago by LeoColomb <[email protected]>
52bddd11503a22f05727b04491c5291dbe3bbff5 authored over 11 years ago by LeoColomb <[email protected]>
d40ec295478a82d24fdadb302ac734f6b5e51188 authored over 11 years ago by LeoColomb <[email protected]>
b1b039934f826bfd07be319c5a6caaf3075c9142 authored over 11 years ago by LeoColomb <[email protected]>
Not sure what can be added. All the yourls_X() function will be tested, if needed in formatting ...
3b9a9c9de296230f277e10bd1da90845d02c0a7b authored over 11 years ago by ozh <[email protected]>7811ff1f1ad8a2ed2bd6cf77bd3cbc9472913dd0 authored over 11 years ago by ozh <[email protected]>
Seems to work :)
19a1e619d08ec05570ba2ce383a7b869e9997436 authored over 11 years ago by ozh <[email protected]>ed7806f3bad9ea4c5bfdbe907a27a2faccb7da73 authored over 11 years ago by LeoColomb <[email protected]>
afd197f663e40fbce58051b4a9b2edf42a64013d authored over 11 years ago by LeoColomb <[email protected]>
34b32d33ca493b3f241e6da89316255d882c214e authored over 11 years ago by ozh <[email protected]>
628235daef7b7f4a11bc568619ed2b1bc76cb6b5 authored over 11 years ago by ozh <[email protected]>
3cc4a8c146bf89fe848394039c3122a0b1d8d8f2 authored over 11 years ago by ozh <[email protected]>
51eabae40ce155cd7212b7b964ba04b23a113ebe authored over 11 years ago by ozh <[email protected]>
Optimizations:
- Drop tables before running tests when running local, not Travis
- Cleaner o...
aff3de24714eeffb567625ce23925346a64aad20 authored over 11 years ago by ozh <[email protected]>
502cd9a657b2836369e7f45e9cde0601a65fbf57 authored over 11 years ago by ozh <[email protected]>
61e24b3b089180ea1dbbaa80193f66c9fbae6b8e authored over 11 years ago by ozh <[email protected]>
b560d9af6953096c3618c27036809a04e941b66d authored over 11 years ago by ozh <[email protected]>
c7da5d5ad9041e36d0ad6c2c35932671cce5088b authored over 11 years ago by ozh <[email protected]>
db4c0e7ef0d6cd868ad328c7032609c78db7a67c authored over 11 years ago by ozh <[email protected]>
75be33237b66df6022ba322af876e10c8e29dad4 authored over 11 years ago by ozh <[email protected]>
8942d453f263183d16f29f429d01f0b561636d78 authored over 11 years ago by ozh <[email protected]>
d9694705f2287ae6cd0d9881eca03ffbb0319518 authored over 11 years ago by ozh <[email protected]>
521dea84ddc3c8067e73a8729e4f5f7f21946b66 authored over 11 years ago by ozh <[email protected]>
So we don't have to maintain `yourls-tests-config-sample.php` and `yourls-tests-config-travis.ph...
85ed214ef9ab15e36398a432fcbb32b50ed6ea74 authored over 11 years ago by ozh <[email protected]>6be172f69c23f687c6eca3fb3d8512834511c04a authored over 11 years ago by ozh <[email protected]>
a921eeab9e46064b98db75b582d2c812bb4dabcd authored over 11 years ago by ozh <[email protected]>
YOURLS_Tests.php should only contain tests. Move all helper functions to utils.php
df2b103879d60854f3fd4f36c19bdcb82c0a0a38 authored over 11 years ago by ozh <[email protected]>d7be520b93da84ea0e41304549101fd1b698eeee authored over 11 years ago by ozh <[email protected]>
367f7d9a6a302f5dd52bfcacc8b2fc62f108bd3f authored over 11 years ago by ozh <[email protected]>
30dda4762cf9ad4e6621df416d9b98cae412c0fb authored over 11 years ago by ozh <[email protected]>
Also,
- add a helper debug function to replace var_dump() within tests
- make both .xml.dist fil...
048cddb364740048e18256fe8f26e652691d2a74 authored over 11 years ago by ozh <[email protected]>
0492dfce09fcca0399b8610258983abb909bebb3 authored over 11 years ago by LeoColomb <[email protected]>
932168d06cf242b5ea2532982d8af69b2230db5c authored over 11 years ago by LeoColomb <[email protected]>
I'm hungry.
6c5e91d4e6b5989af72bb3b92b552cd3ff27c525 authored over 11 years ago by LeoColomb <[email protected]>c1f9650e226e6f3d07994dda936119bc1dfc66c8 authored over 11 years ago by LeoColomb <[email protected]>
e0cc3ff6750368698d7374623e0e178a3d2dbaf3 authored over 11 years ago by LeoColomb <[email protected]>
e73ff679efe31f89092a45625c8a01e415fba2b0 authored over 11 years ago by LeoColomb <[email protected]>
083fe77fd0ac295baec6c72f1100c7f0be0eafda authored over 11 years ago by LeoColomb <[email protected]>
999d100f00d62bd96c4ace298c909ef4d483d429 authored over 11 years ago by LeoColomb <[email protected]>
e6d1aee2c3377549f4ccde9b8067e7523df6db36 authored over 11 years ago by LeoColomb <[email protected]>
This reverts commit 7142bc3f83acd1a1d7aecda20a120614732f8214.
66c6df9de645c14572f2a0f426d480dc0aeba080 authored over 11 years ago by LeoColomb <[email protected]>This reverts commit 02b0d3ede71c5957653f6864b87c3d14e7a3bd17.
14e361f22c94dc0be328524352ce8ed9743808c7 authored over 11 years ago by LeoColomb <[email protected]>28f80d5422de906b1ea926df7f19a8bd5d336e5c authored over 11 years ago by LeoColomb <[email protected]>
9c8d01ed0d07bf47230071f4b6803d82431e3d4c authored over 11 years ago by LeoColomb <[email protected]>
Conflicts:
yourls-tests-config-travis.php
4350b3bb922727c0ea29f266d8e55d49981ad39f authored over 11 years ago by LeoColomb <[email protected]>
Is that allowed?
22bc76a02e2348a2cc1d77b9c7d3ca6af1f30ffc authored over 11 years ago by LeoColomb <[email protected]>716f448cfe492424100f60812f6e47633f1730d2 authored over 11 years ago by LeoColomb <[email protected]>