Correct PHPUnit integration

Components

Labels

Description

Features

  1. introduce a new folder structure under the “tests” sub-folder:

    • Unit - for unit test classes (before both functional & unit tests were located in the same folder)

    • Functional - for functional test classes (before both functional & unit tests were located in the same folder)

    • PageObject - for page object classes (before the folder was called “pages”)

  2. reworked test suite naming to allow execution of:

    1. either all functional tests (specify the “Functional” test suite)

    2. or all unit tests (specify the “Unit” test suite)

    3. or every test (don’t specify the test suite)

  3. improve coverage collection speed by reducing coverage collection to PHP classes, that are covered by tests

  4. added the “phpunit-ci” Phing build target

Bug fixes:

  1. browser aliases weren’t working when a test suite had multiple functional tests

  2. repair the “phpunit” Phing build target (wasn’t working at all)

Context Information

None

Additional information (do not use)

None

Activity

[API] Administrator November 30, 2024 at 6:56 PM

User (SVN User: "alex") committed a fix to 5.2.x. Commit Message:

Fixes - Correct PHPUnit integration

Differential Revision: https://qa.in-portal.org/D494

Fixed

Details

Priority

Assignee

Reporter

Developer

Reviewer

Change Log Group

Fixed

Change Log Message

Patch Instructions

Patches must be submitted through Phabricator.

Time tracking

3h 33m logged

Story Points

Fix versions

Created June 6, 2024 at 7:56 AM
Updated December 30, 2024 at 3:06 PM
Resolved November 30, 2024 at 6:56 PM