SpinW / spinw

SpinW Matlab library for spin wave calculation
http://www.spinw.org
GNU General Public License v3.0
37 stars 15 forks source link

Tech debt: test verbosity and warnings #135

Closed mducle closed 1 year ago

mducle commented 1 year ago

Currently the CI tests output is extremely verbose so it can take a bit of time to actually find where the test fails (if it fails). This verbosity should be reduced (e.g. by setting swpref.fid to 0).

In addition, the test also generate a large number of warnings. Some of these are flagged by SpinW because of certain issues with the calculations (such as non-positive definite Hamiltonians) and should actually be tested for and suppressed. Others are Matlab warnings and deprecation warnings (e.g. using spgr instead of sym) and should be fixed in the test code.

Also should look at some flaky tests:

mducle commented 1 year ago

Resolved by PR #138