Anush008/fastembed-rs

Singular test takes too long

angelofallars opened this issue · 2 comments

The singular test of the library takes around 5 minutes to run, which is too long for a unit test.

Suggestion: Split the unit test into 7 unit tests for each test in the models_and_expected_values vector.

I can code in this change.

When waiting for https://github.com/Anush008/fastembed-rs/actions/runs/7451787665, realized how awfully long it is.
Yes, splitting them will definitely help.

Removed the larger models from the tests.