Project

General

Profile

Actions

Bug #7455

closed

PHP Unittests fail in current version

Added by Marc Egger over 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Marc Egger
Target version:
-
Start date:
11.12.2018
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Discuss:
Prio Planung:
Vote:

Subtasks 1 (0 open1 closed)

Feature #7460: Create SetupPhpUnit ClassClosedMarc Egger11.12.2018

Actions
Actions #1

Updated by Marc Egger over 5 years ago

  • Assignee set to Marc Egger
Actions #2

Updated by Marc Egger over 5 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Marc Egger about 5 years ago

Erledigt:
- Tests aus dem Source Folder raus genommen und direkt ins Extension Folder
- Ordnerstruktur von Tests ist Spiegelung von Source
- bootstrap.php mit autoloader erstellt, bis jetzt nur in Tests benutzt
- phpunit.xml angelegt mit unit test Konfiguration, bootloader verlinkt
- Headder von allen tests vereinheitlicht dank bootloader und phpunit.xml
- Einige Fehler behoben die beim ausfueren der Tests auftraten

Actions #4

Updated by Marc Egger about 5 years ago

Code Coverage Test funktioniert bei carsten nicht

<p>Generic Exception: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time</p>Cannot modify header information - headers already sent by (output started at phar:///usr/share/php/phpunit-7.1.4.phar/phpunit/Util/Printer.php:109)

Process finished with exit code 2

Actions #5

Updated by Carsten Rose about 5 years ago

Tests laufen mittlerweile alle durch

Actions #6

Updated by Marc Egger about 5 years ago

  • Status changed from In Progress to Ready to sync (develop)
Actions #7

Updated by Marc Egger about 5 years ago

  • Status changed from Ready to sync (develop) to Closed
Actions

Also available in: Atom PDF