Skip to content

Migrate tests out of package into pytest fixtures & various bug fixes

Compare
Choose a tag to compare
@langmm langmm released this 18 Mar 23:27
· 630 commits to main since this release
  • Moved tests out of package to take advantage of pytest conftest.py structure and reduce the size of the package
  • Refactored tests to use pytest fixtures instead of the unittest setup/teardown structure
  • Removed the yggtest CLI and migrate options into pytest CLI options
  • Updated the GHA workflow to use the new pytest based CLI and test parameters so that changing the image used won't change the name of the test required to
    merge pull requests
  • Use lock to prevent parallel compilation for all compiled languages
  • Removed 'initial_state' parameter from Transform and Filter schemas as it is unused
  • Removed unused yggdrasil.communication.cleanup_comms method
  • Updated requirements (pinned libroadrunner to < 2.0.7 and unpinned pytest)
  • Updated tests to allow comparison of class objects imported in different ways
  • Updated the connection and comm schemas to allow for inputs & vars to include datatypes, fixing a bug where turning on debugging caused the validation of connection parameters to fail
  • Updated the connections to allow the input and output patterns to be passed directly
  • Added a method for displaying information about serializers and added that information to comm info displays
  • Fixed a bug in updating the serializer from messages for ForkComms with a scatter communication pattern
  • Added the split_and_merge example of using communication patterns to split and merge messages between multiple inputs/outputs
  • Fixed a bug in pandas serializer where strings are now stored as objects by default
  • Fixed a bug in table serializer where table parameters were not being passed to the header discovery function, resulting in them being ignored in some cases