Make WordPress Core

Opened 8 years ago

Closed 7 years ago

#40463 closed defect (bug) (fixed)

Get the tests for the 4.0 branch passing

Reported by: johnbillion's profile johnbillion Owned by:
Milestone: 4.9 Priority: normal
Severity: normal Version: 4.0
Component: Build/Test Tools Keywords:
Focuses: Cc:

Description

tl;dr: Most of #30284 should be backported to the 4.0 branch (and earlier).

The test suite did not pass in versions prior to 4.1. Failing tests were committed to the test suite but skipped with the now-defunct knownWPBug notation.

Work on recent tickets such as #35105, #39486, and #40086 means the 4.1 to 4.6 branches are passing once again, but 4.0 (and earlier) basically needs most of the changes in #30284 applying to it.

Having a passing test suite in the 4.0 branch means we can be more confident in patch releases.

Related: #40100, #40106.

Change History (11)

#1 @johnbillion
8 years ago

I've started this already with [40445], [40446], [40447], [40448], and [40449].

#3 @johnbillion
8 years ago

In 40450:

Remove failing unit tests from 'canonical' group.

Each removed test has been turned into a patch and posted to the open ticket
that it belongs to.

See #30284.

Merges [30282] to the 4.0 branch.

See #40463

#4 @johnbillion
8 years ago

In 40451:

Remove skipped tests for unimplemented JS plural functions.

See #22229.

Merges [30517] to the 4.0 branch.

See #40463

#5 @johnbillion
8 years ago

In 40452:

Remove failing test in the hooks group.

See #30284.

Merges [30519] to the 4.0 branch.

See #40463

#6 @johnbillion
8 years ago

In 40453:

Remove failing tests related to square brackets being stripped in URL sanitizers.

See #30284.

Merges [30514] to the 4.0 branch.

See #40463

#7 @johnbillion
8 years ago

In 40454:

Remove failing is_textdomain_loaded() test.

See #30284.

Merges [30521] to the 4.0 branch.

See #40463

#8 @johnbillion
8 years ago

In 40455:

Remove failing tests related to WP_User::__unset().

See #30284.

Merges [30513] to the 4.0 branch.

See #40463

#9 @johnbillion
8 years ago

In 40456:

Better rewrite rule flushing in test_permalink_without_title().

This ensures that the test is not polluted by permalink structure changes in
earlier tests.

Merges [30529] to the 4.0 branch.

See #40463

#10 @johnbillion
8 years ago

In 40457:

Build/Test tools: Ruthlessly remove failing tests from the 4.0 branch.

The corresponding issues that these failing tests relate to were fixed during 4.1 development. The tests will never pass on the 4.0 brach.

See #40463

#11 @johnbillion
7 years ago

  • Milestone changed from Future Release to 4.9
  • Resolution set to fixed
  • Status changed from new to closed

I forgot to include a reference to this ticket in [41306], which fixed this.

Note: See TracTickets for help on using tickets.