UCL / dxss

DOLFINx slab solver

Home Page:http://github-pages.ucl.ac.uk/dxss/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get pytest running with Janosch's tests

samcunliffe opened this issue · comments

In my local experiments (whilst #7 is still in review):

  • Renaming the test scripts to tests/test_slab_solver_3d.py,
  • and running with reduced ref_lvl (and lowering the order) works!

So the first part of this issue is rather straightforward.

They should be refactored into shorter functions ideally. Although pytest just executes the scripts, so they are de-facto end-to-end tests.

@krishnakumarg1984 points me to the deal II test suite which we can probably use for inspiration.

Rescoping the ticket title and closing as done.