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

More URL tests & TODO tests

4ebadd0c4351daf1af09cc4c5d5a776a77162ae5 authored about 10 years ago by ozh <[email protected]>
one more test while I brush my teeth

things would be so much faster if I had an extra arm!

130e27a743c0998234d2f9c67897fac5c8d11499 authored about 10 years ago by ozh <[email protected]>
Moar tests

6e0de8294e8033685350ac8cad37373583857487 authored about 10 years ago by ozh <[email protected]>
Use @group notation

Syntax: phpunit --group something

7ae61ae57b75bcb2f3039753a75a1b88c0c6bd63 authored about 10 years ago by ozh <[email protected]>
Reorganize formatting tests

b0c394a9498d9b2517eb709b8f6dd3573b1cfbfb authored about 10 years ago by ozh <[email protected]>
Missing test.. Was it intentional?

18f6764682c4c91b390baa98403b9cf42fb0d6b1 authored about 10 years ago by ozh <[email protected]>
Test hook priorities & parameters

ea999dd2a7a2ae23e8fa9062787a20679df8bede authored about 10 years ago by ozh <[email protected]>
Also test yourls_did_action()

953bacf985ce095ada5161cf0905ed7959d8b425 authored about 10 years ago by ozh <[email protected]>
multiple filters to same hook

14f434bd04599435e037f494578a456433b4711b authored about 10 years ago by ozh <[email protected]>
More compatibility tests

bcb477daa7872b3b2b729607d410d2b47c559061 authored about 10 years ago by ozh <[email protected]>
Screw it.

f91253fb72f493fc17d3808292c03c6f091a286e authored about 10 years ago by ozh <[email protected]>
Revert 5.3+ check. Allow 5.2 to fail?

790353103f76d6c110c82dd07bf1831afa5e558f authored about 10 years ago by ozh <[email protected]>
Test closures only if PHP 5.3+

8654e51c9719de81657b86ae5a93194a55f43542 authored about 10 years ago by ozh <[email protected]>
Merge branch 'master' of https://github.com/YOURLS/YOURLS-unit-tests

ddb227767e04d2079de9a833d3f584ec4e56f7a0 authored about 10 years ago by ozh <[email protected]>
Plugin filters: files & hooks

10b8249c09e7bc9800d2291e4818c348e13caa07 authored about 10 years ago by ozh <[email protected]>
Load PHPunit with Composer

fdb37feb432dc8e85ac7891cea5171a9251e7fe7 authored almost 11 years ago by LeoColomb <[email protected]>
Different ways to load PHPUnit

ab273c4abb380b07820f83fc84b118b15033b3ed authored almost 11 years ago by LeoColomb <[email protected]>
Update gitgnore to ignore smth

ec0ecb79d6802ee726032f9055a369dd00419f05 authored almost 11 years ago by LeoColomb <[email protected]>
Update install.php

YOURLS_ADMIN_LOCATION for v2.0

e7a42a0af5e5460b516da5180b939bf07c1daec7 authored almost 11 years ago by Léo Colombaro <[email protected]>
Update install.php

Include Composer autoload if applicable

6e7d635fbd02781b84e57250fd1163d1b148f396 authored almost 11 years ago by Léo Colombaro <[email protected]>
Works locally, not on Travis, dunno why. Fuck it.

See https://github.com/YOURLS/YOURLS/pull/1635

941f0045868e141b123307101090978fae42bfaf authored almost 11 years ago by ozh <[email protected]>
Merge pull request #5 from YOURLS/test-dead-db

Dead & alive DB tests using PDO & MySQL(i)

4212e4340765c9522bf4e53cc255bb988921bf5b authored almost 11 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>
Accurate comment

c1c5531f11880517f1ff9520cdc33976f0eaee60 authored almost 11 years ago by ozh <[email protected]>
Dead & alive DB tests

7c5265421bb0de8f6d391647f58228396bf1978f authored almost 11 years ago by ozh <[email protected]>
No "general" file, and more short URL tests

a6a8ba7ccd2a33075eb1569adcdebdaff02f5198 authored almost 11 years ago by ozh <[email protected]>
More tests

6cef69381d3f793273c3d17f587fbe6e26d15c35 authored almost 11 years ago by ozh <[email protected]>
More tests

5efe3fdd004774b7fa67e0dbadb3c917750bc383 authored almost 11 years ago by ozh <[email protected]>
More translation tests

94d5ae9419c4b92fa8285decb4350a7c9fce167d authored almost 11 years ago by ozh <[email protected]>
More URL tests

acc2b16e4617652b63a6c64ca8f11a04bf3a0d3d authored almost 11 years ago by ozh <[email protected]>
Prepare for cron tests

4e08d970aa3d1748a62f385b12bd9352b14773e4 authored almost 11 years ago by ozh <[email protected]>
+ 5.2

8bd92e11f98e68dc31d394dc6f4a8ec889dcb140 authored about 11 years ago by ozh <[email protected]>
Don't pre-hash passwords

Make it completely random:
- more accurate
- should fix PHP 5.2 discrepancy ?

1bace8ab59873246ec2d3491fab77d387b25d212 authored about 11 years ago by ozh <[email protected]>
Merge branch 'master' of https://github.com/YOURLS/YOURLS-unit-tests

715390d384f9727652064442c51a1cd8e09010c5 authored about 11 years ago by ozh <[email protected]>
Make sure tested strings are valid

16f4d46e73d0613efc8597608d1b42ef6ad41a74 authored about 11 years ago by ozh <[email protected]>
Properly linked travis badge

1c0fe1de923bdc4f43ae28766932f18f4172916f authored about 11 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>
Merge branch 'master' of https://github.com/YOURLS/YOURLS-unit-tests

fe36b853978e368c8bf482cbb4ead3eeb88b6255 authored about 11 years ago by ozh <[email protected]>
Works on my box, not on Travis. Fuck that test.

5dc1157178eccc8068d49a829050570c8403266f authored about 11 years ago by ozh <[email protected]>
Add the little Travis badge. FFS, why red btw? >:@

8b318cf9acac381b1c71a59e1f88e016bd46093f authored about 11 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>
Some formatting functions

25be522b6e8bfec3ff8ca13ca8691afd2116a34c authored about 11 years ago by ozh <[email protected]>
Merge branch 'master' of https://github.com/YOURLS/YOURLS-unit-tests

32c278ee4f99e6c9b1b5fa818d0b8025a0e51a4f authored about 11 years ago by ozh <[email protected]>
Option tests

113ef22827aa6e253789af9a9f5e9eafaddb26c4 authored about 11 years ago by ozh <[email protected]>
Little helper function

0511575834690cc28fd3902dae26760687c1236c authored about 11 years ago by ozh <[email protected]>
Minor | Use theme function in theme module

64b359e14aa91f14994c574106ab783c431a3382 authored over 11 years ago by LeoColomb <[email protected]>
TODO update

56a55027e86892c0240603e8dd566c9b5ba883b8 authored over 11 years ago by ozh <[email protected]>
EOLs

8ad7802a31e4ba559a7ac5933095f685800e996d authored over 11 years ago by ozh <[email protected]>
Theme tests

688e036432e66318f429ddb8a087a30153beaebe authored over 11 years ago by ozh <[email protected]>
No more dependency

b54945f481a6d4e694c57043a364b6794967c28a authored over 11 years ago by LeoColomb <[email protected]>
Revert "Test if tests run tests on php 5.2"

This reverts commit 52bddd11503a22f05727b04491c5291dbe3bbff5.

408c625a09d06e1e6c977c4450d1494a4dac535b authored over 11 years ago by LeoColomb <[email protected]>
Plugin tests

bd59d9e915556f95f6694943413728775dbbaad7 authored over 11 years ago by ozh <[email protected]>
Merge branch 'master' of https://github.com/YOURLS/YOURLS-unit-tests

2e5baf52ce94a9881780e92bb7bd0e511c02a70f authored over 11 years ago by ozh <[email protected]>
Remove 5.2 of travis tests

e5b6a10d84fcd7ecef278f0eae432bb1a0ca1f2d authored over 11 years ago by LeoColomb <[email protected]>
Test if tests run tests on php 5.2

52bddd11503a22f05727b04491c5291dbe3bbff5 authored over 11 years ago by LeoColomb <[email protected]>
markTestSkipped instead of markTestIncomplete

d40ec295478a82d24fdadb302ac734f6b5e51188 authored over 11 years ago by LeoColomb <[email protected]>
Tabs

b1b039934f826bfd07be319c5a6caaf3075c9142 authored over 11 years ago by LeoColomb <[email protected]>
Translation tests

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]>
GeoIP tests

7811ff1f1ad8a2ed2bd6cf77bd3cbc9472913dd0 authored over 11 years ago by ozh <[email protected]>
Test in-file password hashing

Seems to work :)

19a1e619d08ec05570ba2ce383a7b869e9997436 authored over 11 years ago by ozh <[email protected]>
Fix phpass passwords

ed7806f3bad9ea4c5bfdbe907a27a2faccb7da73 authored over 11 years ago by LeoColomb <[email protected]>
Update TODO list

afd197f663e40fbce58051b4a9b2edf42a64013d authored over 11 years ago by LeoColomb <[email protected]>
Simpler class names

34b32d33ca493b3f241e6da89316255d882c214e authored over 11 years ago by ozh <[email protected]>
We want MOAR tests!

628235daef7b7f4a11bc568619ed2b1bc76cb6b5 authored over 11 years ago by ozh <[email protected]>
File & logic reorg. Install procedure is not a unit test.

3cc4a8c146bf89fe848394039c3122a0b1d8d8f2 authored over 11 years ago by ozh <[email protected]>
Remove useless line

51eabae40ce155cd7212b7b964ba04b23a113ebe authored over 11 years ago by ozh <[email protected]>
Merge pull request #3 from YOURLS/tests

Optimizations:

- Drop tables before running tests when running local, not Travis
- Cleaner o...

f75fb1268e1bda731c606ff407d4b7bef6791c04 authored over 11 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>
Does that fix Travis log display?

aff3de24714eeffb567625ce23925346a64aad20 authored over 11 years ago by ozh <[email protected]>
Putting back all the PHP's

502cd9a657b2836369e7f45e9cde0601a65fbf57 authored over 11 years ago by ozh <[email protected]>
pom pom pom ...

61e24b3b089180ea1dbbaa80193f66c9fbae6b8e authored over 11 years ago by ozh <[email protected]>
$ozh->boulet = true;

b560d9af6953096c3618c27036809a04e941b66d authored over 11 years ago by ozh <[email protected]>
Correct (?) path depending on if Travis on YOURLS/YOURLS or YOURLS/YOURLS-unit-tests

c7da5d5ad9041e36d0ad6c2c35932671cce5088b authored over 11 years ago by ozh <[email protected]>
Attempt #19 : hardcode path on Travis

db4c0e7ef0d6cd868ad328c7032609c78db7a67c authored over 11 years ago by ozh <[email protected]>
I'm lookiiiiing for the config fiiiiile... lalalala

75be33237b66df6022ba322af876e10c8e29dad4 authored over 11 years ago by ozh <[email protected]>
Where the f* is that config file ?

8942d453f263183d16f29f429d01f0b561636d78 authored over 11 years ago by ozh <[email protected]>
Almost there.

d9694705f2287ae6cd0d9881eca03ffbb0319518 authored over 11 years ago by ozh <[email protected]>
travis.yml update so commits to YOURLS/YOURLS-unit-tests run unit tests in YOURLS/YOURLS?

521dea84ddc3c8067e73a8729e4f5f7f21946b66 authored over 11 years ago by ozh <[email protected]>
Trim down config file to the bare minimum

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]>
Remove Code Coverage. We're too far from there, makes no sense atm

6be172f69c23f687c6eca3fb3d8512834511c04a authored over 11 years ago by ozh <[email protected]>
Don't log anything to text file if on Travis

a921eeab9e46064b98db75b582d2c812bb4dabcd authored over 11 years ago by ozh <[email protected]>
Cleaner organisation of files & functions.

YOURLS_Tests.php should only contain tests. Move all helper functions to utils.php

df2b103879d60854f3fd4f36c19bdcb82c0a0a38 authored over 11 years ago by ozh <[email protected]>
Make sure global is global

d7be520b93da84ea0e41304549101fd1b698eeee authored over 11 years ago by ozh <[email protected]>
Add some scary comments

367f7d9a6a302f5dd52bfcacc8b2fc62f108bd3f authored over 11 years ago by ozh <[email protected]>
Simpler local test. Also, code coverage.

30dda4762cf9ad4e6621df416d9b98cae412c0fb authored over 11 years ago by ozh <[email protected]>
Drop tables before running tests when running local, not Travis

Also,
- add a helper debug function to replace var_dump() within tests
- make both .xml.dist fil...

b4ee9ddad7ed9109db6a8a62e2d572febbd2d7d9 authored over 11 years ago by ozh <[email protected]>
Merge branch 'master' of https://github.com/YOURLS/YOURLS-unit-tests

048cddb364740048e18256fe8f26e652691d2a74 authored over 11 years ago by ozh <[email protected]>
Themes are not everywhere

0492dfce09fcca0399b8610258983abb909bebb3 authored over 11 years ago by LeoColomb <[email protected]>
Declare REQUEST_URI

932168d06cf242b5ea2532982d8af69b2230db5c authored over 11 years ago by LeoColomb <[email protected]>
Hum... Not the good path

I'm hungry.

6c5e91d4e6b5989af72bb3b92b552cd3ff27c525 authored over 11 years ago by LeoColomb <[email protected]>
Search right config

c1f9650e226e6f3d07994dda936119bc1dfc66c8 authored over 11 years ago by LeoColomb <[email protected]>
Add variables for tests

e0cc3ff6750368698d7374623e0e178a3d2dbaf3 authored over 11 years ago by LeoColomb <[email protected]>
Fix naming convention

e73ff679efe31f89092a45625c8a01e415fba2b0 authored over 11 years ago by LeoColomb <[email protected]>
Mark tests incompleted

083fe77fd0ac295baec6c72f1100c7f0be0eafda authored over 11 years ago by LeoColomb <[email protected]>
Import Travis PHPunit Config into master

999d100f00d62bd96c4ace298c909ef4d483d429 authored over 11 years ago by LeoColomb <[email protected]>
Version up

e6d1aee2c3377549f4ccde9b8067e7523df6db36 authored over 11 years ago by LeoColomb <[email protected]>
Revert "Fix strucutre"

This reverts commit 7142bc3f83acd1a1d7aecda20a120614732f8214.

66c6df9de645c14572f2a0f426d480dc0aeba080 authored over 11 years ago by LeoColomb <[email protected]>
Revert "Fix the Travis"

This reverts commit 02b0d3ede71c5957653f6864b87c3d14e7a3bd17.

14e361f22c94dc0be328524352ce8ed9743808c7 authored over 11 years ago by LeoColomb <[email protected]>
Fix directory

28f80d5422de906b1ea926df7f19a8bd5d336e5c authored over 11 years ago by LeoColomb <[email protected]>
Add default lang

9c8d01ed0d07bf47230071f4b6803d82431e3d4c authored over 11 years ago by LeoColomb <[email protected]>
Merge branch 'master' of https://github.com/YOURLS/YOURLS-unit-tests into travis-ci

Conflicts:
yourls-tests-config-travis.php

e5f9901a0508f55d50ca3234e55e0d30793e5311 authored over 11 years ago by LeoColomb <[email protected]>
Enable translation test

4350b3bb922727c0ea29f266d8e55d49981ad39f authored over 11 years ago by LeoColomb <[email protected]>
Test login

Is that allowed?

22bc76a02e2348a2cc1d77b9c7d3ca6af1f30ffc authored over 11 years ago by LeoColomb <[email protected]>
EOL

716f448cfe492424100f60812f6e47633f1730d2 authored over 11 years ago by LeoColomb <[email protected]>