Skip to content

Releases: machielg/sparkle-test

Add random dataframe creation for unit tests

18 Nov 12:11
Compare
Choose a tag to compare

Usage

def test_something(self):
   df = self.randomDF()
   df = self.randomDF("a", "b")
   self.assertEqual(["a", "b"], df.colums)
   df = self.randomDF("a:bigint")
   self.assertEqual(LongType(), df.fields[0].dataType)

First stable release

04 Nov 14:11
Compare
Choose a tag to compare

Making pyspark unit tests easy and fast