Skip to content
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

Improve tests for classes related to typing of tabular data #875

Open
lars-reimann opened this issue Jun 28, 2024 · 0 comments
Open

Improve tests for classes related to typing of tabular data #875

lars-reimann opened this issue Jun 28, 2024 · 0 comments
Labels
testing 🧪 Additional automated tests

Comments

@lars-reimann
Copy link
Member

lars-reimann commented Jun 28, 2024

Tests for methods of

  • DataType (interface) and _PolarsDataType (implementation),
  • Schema (interface) and _PolarsSchema (implementation)

are missing entirely or for some edge cases.

We should

  • remove the outdated test_data_type.py and test_schema.py
  • create folders _data_type and _schema inside tests/safeds/data/tabular/typing
  • create individual files inside the folder for the different methods of DataType and Schema (same structure as for containers of tabular data).

Use parametrized tests to cover edge cases.

@lars-reimann lars-reimann added testing 🧪 Additional automated tests lab Suitable for the lab labels Jun 28, 2024
@lars-reimann lars-reimann removed the lab Suitable for the lab label Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing 🧪 Additional automated tests
Projects
Status: Backlog
Development

No branches or pull requests

1 participant