Skip to content

Commit

Permalink
small update to testing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspie committed Nov 29, 2024
1 parent f6c86af commit 49682ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/how-tos/using-pynxtools-test-framework.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ def test_foo_reader(nxdl, reader_name, files_or_dir, tmp_path, caplog):
# Use `ignore_undocumented` to skip undocumented fields
# caplog_level can be "ERROR" or "WARNING"
test.check_reproducibility_of_nexus()
# Here, you can also pass `ignore_lines` (a list) or `ignore_sections` (a dict)
# if you want to ignore certain lines or lines within a section in the comparison
# of the log files of the reference -nxs file and the one created in the test.
```

Alongside the test data in `test/data`, it is also possible to add other types of test data inside the test directory of the plugin.
Expand Down

0 comments on commit 49682ee

Please sign in to comment.