-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unit Testing Helper #136
Unit Testing Helper #136
Conversation
I've added a little tweak to the coverage workflow so it prints out coverage to the console on CI runs, after running tests. Some coverage is dropped because the contents of |
I have tried to make very explicit the behaviour changes from passing |
In #135 (pending) I introduced the
assert_tfs_frame_equal
function in theconftest.py
file, which is quite convenient.In pylhc/omc3#463 a similar version was introduced in
omc3
, with tests, and we figured it would make sense to provide it as a public API from thetfs
package directly.In this PR I introduce a
tfs.testing
module, with theassert_tfs_frame_equal
function there. Tests have been copied over from those implemented by @JoschD in pylhc/omc3#463.Version is bumped to
3.9.0
, changelog updated. This can safely be merged and released, and I'll take care of merging back into #135 to use the new functionality there.