Skip to content

Conversation

@axlewin
Copy link
Contributor

@axlewin axlewin commented Jan 20, 2026

Convert the mapper parameterised tests to use JUnit 4 so they can be run as part of build-and-test.

As expected, the tests failed (ContentMapperTest.testDOtoDTOMapping:62 expected: <uk.ac.cam.cl.dtg.isaac.dos.content.DesmosEmbedding> but was: <uk.ac.cam.cl.dtg.isaac.dto.content.DesmosEmbeddingDTO>) until this fix was merged in.

@codecov
Copy link

codecov bot commented Jan 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 38.12%. Comparing base (2fc0af0) to head (2500feb).
⚠️ Report is 56 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #748      +/-   ##
==========================================
+ Coverage   36.77%   38.12%   +1.35%     
==========================================
  Files         545      545              
  Lines       23692    23692              
  Branches     2832     2832              
==========================================
+ Hits         8712     9033     +321     
+ Misses      14102    13785     -317     
+ Partials      878      874       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@axlewin axlewin changed the title Run content mapper test in maven test Run mapper tests as part of maven test Jan 20, 2026
@axlewin axlewin marked this pull request as ready for review January 20, 2026 16:03
This was copied across from ContentMapperTest, but it's not relevant for QuestionValidationResponse subclasses
@jsharkey13 jsharkey13 merged commit 54981c8 into main Jan 23, 2026
5 checks passed
@jsharkey13 jsharkey13 deleted the hotfix/run-mapper-tests branch January 23, 2026 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants