Testing setup? #4

Open
opened 2025-12-18 07:20:51 +00:00 by mih · 1 comment
Owner

How shall we test this package? Against a demo site? Against a local/tmp deployment filled with same precrafted records?

How shall we test this package? Against a demo site? Against a local/tmp deployment filled with same precrafted records?
Owner

Tests have been introduced in version 0.2.13.

There are some real unittests, which work with mockups, but most tests are against a local /tmp-deployed dump-things-server. So most tests are end-to-end.

The local deployment contains no records by default; tests usually populate them with the content that they require.

Tests are not complete yet, 73% of the communication module and 53% of the dtc plugins are covered.

There are currently 15 tests. Running all of them takes 3-4 seconds.

Tests have been introduced in version 0.2.13. There are some real unittests, which work with mockups, but most tests are against a local /tmp-deployed dump-things-server. So most tests are end-to-end. The local deployment contains no records by default; tests usually populate them with the content that they require. Tests are not complete yet, 73% of the communication module and 53% of the dtc plugins are covered. There are currently 15 tests. Running all of them takes 3-4 seconds.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
orinoco/dump-things-pyclient#4
No description provided.