Skip to content

Conversation

@PhilippImhof
Copy link
Collaborator

Currently, backup and restore is only tested with behat. This PR adds a unit test (strictly speaking it is not a unit test, but it is run via PHPUnit) that makes sure, backup and restore works for various question variants.

@PhilippImhof PhilippImhof added the tests Add / improve tests (acceptance testing, unit tests) label Mar 11, 2025
@PhilippImhof PhilippImhof self-assigned this Mar 11, 2025
@coveralls
Copy link

coveralls commented Mar 11, 2025

Pull Request Test Coverage Report for Build 13793637356

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+2.1%) to 95.973%

Totals Coverage Status
Change from base Build 13615610519: 2.1%
Covered Lines: 3742
Relevant Lines: 3899

💛 - Coveralls

@PhilippImhof PhilippImhof merged commit ab818cb into FormulasQuestion:main Mar 12, 2025
37 checks passed
@PhilippImhof PhilippImhof deleted the test-backup branch March 12, 2025 06:41
PhilippImhof added a commit to PhilippImhof/moodle-qtype_formulas that referenced this pull request Mar 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Add / improve tests (acceptance testing, unit tests)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants