Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT or GBM) Library, for Python, R, Java, Scala, C++ and more. Runs on single machine, Hadoop, Spark, Dask, Flink and DataFlow
The tests derived from the python unittest module are not compatible with pytest. For instance, pytest.mark and pytest fixtures are not usable with existing pyspark tests. As a bouns, I think using pytest fixture instead of the setup function from unittest can accelerate the test performance by preventing repeated setups.
Aside from the test framework, we need to remove the use of hardcoded results.
The tests derived from the python
unittest
module are not compatible with pytest. For instance,pytest.mark
and pytest fixtures are not usable with existing pyspark tests. As a bouns, I think using pytest fixture instead of the setup function from unittest can accelerate the test performance by preventing repeated setups.Aside from the test framework, we need to remove the use of hardcoded results.
@WeichenXu123 @wbo4958