qbeast-spark
qbeast-spark copied to clipboard
Avoid creating test files in the project directly
What went wrong?
As described in the comment of #402, some tests create files in the project directory, which is not ideal because:
- It makes the directory messier,
- There is a higher chance that one commits these files by mistakes
- The tests can be indeterministic, as the results may vary if these files exist.
To avoid this, we should delete the method withSparkAndTmpDir
and replace it with withSparkAndTmpWarehouse.