arr-ai / arrai

The ultimate data engine.
http://arr.ai
Apache License 2.0
20 stars 15 forks source link

coverage test on rel package #654

Open nofun97 opened 3 years ago

nofun97 commented 3 years ago

Purpose

rel package coverage is very low. This is because most of the test is in the syntax package which depends on the rel package.

Suggested approaches

There's a feature in go where test files can have a different package name by adding _test as a suffix. e.g. package name_test.

This would allow independent import to the rel package and in turn might allow coverage to the rel package through the tests in syntax package.