coldbox-platform icon indicating copy to clipboard operation
coldbox-platform copied to clipboard

Better testing headers

Open elpete opened this issue 1 year ago • 4 comments

  • Update HTTP status code check for onMissingAction test
  • Fix so RequestContextDecorators wrap whichever RequestContext is passed
  • Allow retrieving all headers from the RequestContext
  • Make it possible to easily override headers in testing without mocking the getHTTPHeader method

elpete avatar Jul 08 '22 19:07 elpete

lucee@5 Test Results

       6 files  ±0  144 suites  +1   1m 4s :stopwatch: +13s 1 000 tests +2  988 :heavy_check_mark: +2  12 :zzz: ±0  0 :x: ±0  1 069 runs  +2  989 :heavy_check_mark: +2  80 :zzz: ±0  0 :x: ±0 

Results for commit 223a1c44. ± Comparison against base commit 64315c97.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Jul 08 '22 19:07 github-actions[bot]

adobe@2016 Test Results

    5 files  +    4  131 suites  +96   39s :stopwatch: +23s 860 tests +515  857 :heavy_check_mark: +514    3 :zzz: +  2  0 :x:  - 1  896 runs  +551  857 :heavy_check_mark: +514  39 :zzz: +38  0 :x:  - 1 

Results for commit 223a1c44. ± Comparison against base commit 4ab822ed.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Jul 08 '22 19:07 github-actions[bot]

adobe@2018 Test Results

       6 files  +    5  144 suites  +109   1m 9s :stopwatch: +54s    999 tests +654  985 :heavy_check_mark: +642  14 :zzz: +13  0 :x:  - 1  1 069 runs  +724  986 :heavy_check_mark: +643  83 :zzz: +82  0 :x:  - 1 

Results for commit 223a1c44. ± Comparison against base commit 4ab822ed.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Jul 08 '22 19:07 github-actions[bot]

adobe@2021 Test Results

       6 files  ±0  144 suites  +1   1m 1s :stopwatch: +2s    999 tests +2  985 :heavy_check_mark: +2  14 :zzz: ±0  0 :x: ±0  1 069 runs  +2  986 :heavy_check_mark: +2  83 :zzz: ±0  0 :x: ±0 

Results for commit 223a1c44. ± Comparison against base commit 64315c97.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Jul 08 '22 19:07 github-actions[bot]