Project

General

Profile

Bug #7455

PHP Unittests fail in current version

Added by Marc Egger almost 2 years ago. Updated almost 2 years ago.

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

100%

Estimated time:
(Total: 0.00 h)
Discuss:

Subtasks

Feature #7460: Create SetupPhpUnit ClassClosedMarc Egger11.12.2018

Actions
#1

Updated by Marc Egger almost 2 years ago

  • Assignee set to Marc Egger
#2

Updated by Marc Egger almost 2 years ago

  • Status changed from New to In Progress
#3

Updated by Marc Egger almost 2 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

#4

Updated by Marc Egger almost 2 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

#5

Updated by Carsten Rose almost 2 years ago

Tests laufen mittlerweile alle durch

#6

Updated by Marc Egger almost 2 years ago

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

Updated by Marc Egger almost 2 years ago

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

Also available in: Atom PDF