Skip to main content

Bug Tracker

Side navigation

#10901 closed enhancement (fixed)

Opened November 26, 2011 03:06PM UTC

Closed February 03, 2012 03:11PM UTC

Last modified February 17, 2012 04:20AM UTC

have unit tests fail if the tester is running from file:// or doesn't have PHP

Reported by: mikesherov Owned by: mikesherov
Priority: low Milestone: 1.7.2
Component: build Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:
Description

currently, the unit tests will silently skip tests that need PHP if not run on a hosted environment. I suspect more than a few testers don't even know this, and so there should be a message letting them know that the only way to run a "full" test is from a hosted environment

Attachments (0)
Change History (7)

Changed November 28, 2011 02:45AM UTC by mikesherov comment:1

component: unfiledbuild
milestone: None1.7.2
owner: → mikesherov
priority: undecidedlow
status: newassigned

Changed February 02, 2012 10:53PM UTC by mikesherov comment:2

PHP is now a requirement.

Changed February 02, 2012 10:53PM UTC by mikesherov comment:3

#11265 is a duplicate of this ticket.

Changed February 02, 2012 11:59PM UTC by mikesherov comment:4

summary: have unit tests alert the tester if they are running from file://have unit tests fail if the tester is running from file:// or doesn't have PHP

Changed February 03, 2012 03:11PM UTC by timmywil comment:5

resolution: → wontfix
status: assignedclosed

We can continue discussion, but I don't think we're going to do this. It is better to run whatever tests can be run.

Changed February 03, 2012 03:13PM UTC by rwaldron comment:6

I want to put a moratorium on any further changes to the test suite.

Changed February 17, 2012 04:20AM UTC by Mike Sherov comment:7

resolution: wontfixfixed

fixes #10901, PHP required for unit tests, but still allow the tests to run

Changeset: 7226cf2800315e90b671db63f2b5f51150ad7e8e