You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In discussing the need to better package testing, we discussed the need to run unit and integration tests for all packages. This issue is to set up poetry package metadata and pytest as a testing framework and create example tests to be expanded.
Configure poetry
Configure pytest
The text was updated successfully, but these errors were encountered:
Started implementation of this build and test framework in branch https://github.com/PermafrostDiscoveryGateway/viz-staging/tree/feature-37-poetry-build . This provides a pyproject.toml file and a basic pytest setup with tests in the tests directory. Example tests are currently just no-ops, and this is meant to be a starting point for a discussion on package build and setup for testing.
To build the package, run poetry build, to install it run poetry install. To run the tests, run pytest from the root of the package directory.
@julietcohen@westminsterabi feedback appreciated, and let's discuss if this would help build out a better package test suite
After successful test run by @westminsterabi , I went ahead and merged PR #38 into develop. Let's follow this same package and test structure for the other packages, viz-workflow, viz-raster, etc.
In discussing the need to better package testing, we discussed the need to run unit and integration tests for all packages. This issue is to set up
poetry
package metadata andpytest
as a testing framework and create example tests to be expanded.The text was updated successfully, but these errors were encountered: