Updating Tests

  • Quick example:
  • For a test that failed, simply run the following command and it will run the test case and update the existing solution with the newly computed one. Then commit the newly created answer file to the repository.
  • Do the following command in the Python shell inside of Continuity:
    • from pcty.tests.testhelper import updateTestCase
      updateTestCase("pcty.tests.testlist.testNodalSolution.test1ElemCubicS", self)