Projekt

Allgemein

Profil

Aktionen

Fehler #301

geschlossen

SelfTest Transactions - all_passed nicht gesetzt

Von Jan Büren vor mehr als 7 Jahren hinzugefügt. Vor mehr als 6 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Normal
Zugewiesen an:
-
Zielversion:
-
Beginn:
05.09.2017
Abgabedatum:
% erledigt:

0%

Geschätzter Aufwand:

Beschreibung

Der SelfTest-Controller prüft auf all_passed, obwohl alle Tests positiv durchlaufen, wird der Wert aufgrund einer scheinbaren "No Test Found" Rückmeldung nicht gesetzt.

Hier der komplette Dump von $self:


$VAR1 = bless( {
                 'descriptions_for_skipped' => [],
                 'descriptions_for_parse_errors' => [
                                                      'SL::BackgroundJob::SelfTest::Transactions'
                                                    ],
                 'descriptions_for_wait' => [],
                 'descriptions_for_exit' => [],
                 'total' => 1,
                 'descriptions_for_total' => [
                                               'SL::BackgroundJob::SelfTest::Transactions'
                                             ],
                 'descriptions_for_failed' => [],
                 'descriptions_for_todo_passed' => [],
                 'planned' => 0,
                 'exit' => 0,
                 'failed' => 0,
                 'descriptions_for_passed' => [
                                                'SL::BackgroundJob::SelfTest::Transactions'
                                              ],
                 'todo' => 0,
                 'wait' => 0,
                 'todo_passed' => 0,
                 'skipped' => 0,
                 'passed' => 1,
                 'parse_order' => [
                                    'SL::BackgroundJob::SelfTest::Transactions'
                                  ],
                 'descriptions_for_planned' => [],
                 'descriptions_for_todo' => [],
                 'parser_for' => {
                                   'SL::BackgroundJob::SelfTest::Transactions' => bless( {
                                                                                         'in_todo' => '',
                                                                                         '_iter' => sub { "DUMMY" },
                                                                                         '_iterator' => undef,
                                                                                         'tests_run' => 1,
                                                                                         'failed' => [],
                                                                                         'exit' => 0,
                                                                                         'version' => 12,
                                                                                         'todo' => [],
                                                                                         'is_good_plan' => 0,
                                                                                         'wait' => 0,
                                                                                         'ok_callbacks' => {
                                                                                                             'version' => 1,
                                                                                                             'bailout' => 1,
                                                                                                             'unknown' => 1,
                                                                                                             'comment' => 1,
                                                                                                             'test' => 1,
                                                                                                             'EOF' => 1,
                                                                                                             'plan' => 1,
                                                                                                             'ELSE' => 1,
                                                                                                             'ALL' => 1,
                                                                                                             'yaml' => 1
                                                                                                           },
                                                                                         'pragma' => {},
                                                                                         '_grammar' => undef,
                                                                                         'start_times' => [
                                                                                                            '1.14',
                                                                                                            '0.05',
                                                                                                            '0',
                                                                                                            '0'
                                                                                                          ],
                                                                                         'end_times' => [
                                                                                                          '1.14',
                                                                                                          '0.05',
                                                                                                          '0',
                                                                                                          '0'
                                                                                                        ],
                                                                                         'plan' => '',
                                                                                         'actual_passed' => [
                                                                                                              1
                                                                                                            ],
                                                                                         'passed' => [
                                                                                                       1
                                                                                                     ],
                                                                                         'start_time' => '1504597799.27743',
                                                                                         '_spool' => undef,
                                                                                         'actual_failed' => [],
                                                                                         'parse_errors' => [
                                                                                                             'No plan found in TAP output'
                                                                                                           ],
                                                                                         'iterator_factory_class' => 'TAP::Parser::IteratorFactory',
                                                                                         'result_factory_class' => 'TAP::Parser::ResultFactory',
                                                                                         'grammar_class' => 'TAP::Parser::Grammar',
                                                                                         'todo_passed' => [],
                                                                                         'code_for' => {},
                                                                                         'end_time' => '1504597799.27799',
                                                                                         'skipped' => []
                                                                                       }, 'TAP::Parser' )
                                 },
                 'parse_errors' => 1
               }, 'TAP::Parser::Aggregator' );
 at SL/DB/BackgroundJob.pm line 45.

Aktionen

Auch abrufbar als: Atom PDF