View Issue Details

IDProjectCategoryView StatusLast Update
0025961mantisbttoolspublic2021-01-01 19:25
Reporterdregad Assigned Todregad  
PrioritynormalSeveritymajorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version2.22.0Fixed in Version2.22.0 
Summary0025961: PHPUnit tests as run by Travis CI builds do not execute all defined suites
Description

As of this writing, the build script is executing PHPUnit as follows
phpunit --bootstrap ./tests/bootstrap.php ./tests/AllTests.php

The problem is that this command does not cover all defined test cases:

  • AllTests suite does not execute RestAllTests
  • SoapAllTests suite does not execute IssueHistoryTest
TagsTravisCI

Relationships

related to 0009936 closedrombert add history information 
related to 0022765 closedvboctor Implement a test framework for REST API 
related to 0025962 closedvboctor IssueAddCommand does not create history entries identical to the code it replaced 

Activities

dregad

dregad

2019-08-04 19:56

developer   ~0062505

Missing History test: 0009936 MantisBT master 120257b5 added the require_once call for the class, but forgot to add the test suite.

dregad

dregad

2019-08-05 11:21

developer   ~0062512

Missing REST tests 0022765 MantisBT master 91d8fafb did not add the test suite to the main AllTests.php suite.

Related Changesets

MantisBT: master 8001a6c5

2019-05-02 14:27

dregad


Details Diff
Add REST tests to global AllTests suite

Fixes 0025961
Affected Issues
0025961
mod - tests/AllTests.php Diff File

MantisBT: master da2079ba

2019-08-04 15:47

dregad


Details Diff
Add IssueHistoryTest to soap AllTests suite

Fixes 0025961
Affected Issues
0025961
mod - tests/soap/AllTests.php Diff File