• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mantidproject / vesuvio / 14370965804
50%

Build:
DEFAULT BRANCH: main
Ran 10 Apr 2025 02:29AM UTC
Jobs 1
Files 12
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Apr 2025 02:07PM UTC coverage: 49.51% (+6.6%) from 42.937%
14370965804

push

github

web-flow
Add unit tests for analysis reduction (#174)

* Add unit test for properties of reduction algorithm

* Fix ip file path in unit test

* Add test for setup()

* Add test for update workspace data

* Remove old comment

* Move function into helpers and add unit test

* Add unit test for MS correction

Did it with actual workspaces, as I don't think it would be possible with mocking.

* Update meta.yml to include directory for unit test data

* Clean function for multiple scattering

Refactor so that everything happens in the same function and variable names make sense

* Add unit test for gamma correction

* Remove unused functions

* Rename and add unit test for remasking with ncp

* Fix unit test for checking property declarations

I wrongly thought that calling initialize() was just an alias for
PyInit() but cleary not.

* Make new function for creating and grouping ncp and fse workspaces

* Add unit test for calculating summed workspaces

* Add unit test for creating means table

* Add unit tests for gamma and multiple scattering corrections

* Improve unit test for summing spectra

54 of 56 new or added lines in 2 files covered. (96.43%)

1 existing line in 1 file now uncovered.

1314 of 2654 relevant lines covered (49.51%)

0.5 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
87.12
42.73% src/mvesuvio/analysis_reduction.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
87.12
42.73% src/mvesuvio/analysis_reduction.py
Jobs
ID Job ID Ran Files Coverage
1 14370965804.1 10 Apr 2025 02:29AM UTC 12
49.51
GitHub Action Run
Source Files on build 14370965804
  • Tree
  • List 12
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a658681c on github
  • Prev Build on main (#14347614481)
  • Next Build on main (#14394258181)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc