General / Uncategorised: Unit test that downloads upload and download

1 vote

Vote

Raised unknown of unknown
(unknown = unknown or unknown)

Extend the downloads test set with a test to ensure an added file (uploaded using http_download_file with POST) downloads correctly.

Suggested by Chris Graham on 27th November 2017

General / Uncategorised: Unit tests that Atom/RSS generates correctly

1 vote

Vote

Raised unknown of unknown
(unknown = unknown or unknown)

Test every Atom and RSS feed validates, both with and without filters.

Suggested by Chris Graham on 27th November 2017

General / Uncategorised: Extend specsettings_documented test [v11]

1 vote

Vote

Raised unknown of unknown
(unknown = unknown or unknown)

We currently test:
- Every symbol is documented
- Every install option is documented
- Every hidden option is documented
- Every keep setting is documented

Add the opposite - every documented one of these exists.
Also that every 'maintenance_code' in a config option exists in the maintenance sp…

Suggested by Chris Graham on 27th November 2017

General / Uncategorised: Test ip_cidr_check function [v11]

1 vote

Vote

Raised unknown of unknown
(unknown = unknown or unknown)

Write unit tests for the ip_cidr_check function.

Suggested by Chris Graham on 27th November 2017

General / Uncategorised: Unit tests for CORs

1 vote

Vote

Raised unknown of unknown
(unknown = unknown or unknown)

Add unit tests to check CORs still works.

Update the maintenance spreadsheet to reflect cors is now unit-tested.

Suggested by Chris Graham on 27th November 2017

General / Uncategorised: Test page and category permissions

1 vote

Vote

Raised unknown of unknown
(unknown = unknown or unknown)

Extend the 'auth' unit test file with extra testing of page and category permissions.

Suggested by Chris Graham on 27th November 2017

General / Uncategorised: Test the install option block_url_schemes

1 vote

Vote

Raised unknown of unknown
(unknown = unknown or unknown)

Extend the 'url_management' unit test file, to test block_url_schemes works (enable it, then confirm that URLs are coming out without a scheme).

Suggested by Chris Graham on 27th November 2017

General / Uncategorised: HTML to Comcode test

1 vote

Vote

Raised unknown of unknown
(unknown = unknown or unknown)

Write a simple test that makes sure a few common HTML tags convert to Comcode correctly.

Nothing huge, just something to get going with.

Suggested by Chris Graham on 27th November 2017

General / Uncategorised: Unit tests for webstandards checker and CQC

1 vote

Vote

Raised unknown of unknown
(unknown = unknown or unknown)

Write a few tests just to confirm validation errors are found when they exist.

Also check PHP code parse fails when expected (take old commented tests from code_quality.php, convert to proper unit tests).

Suggested by Chris Graham on 27th November 2017

General / Uncategorised: More Comcode unit tests

1 vote

Vote

Raised unknown of unknown
(unknown = unknown or unknown)

Add more Comcode tests to the 'comcode' unit tests file - emoticons, line rule, etc.

Suggested by Chris Graham on 27th November 2017