{"id":18391768,"url":"https://github.com/mkuthan/example-spark","last_synced_at":"2025-04-13T10:52:10.302Z","repository":{"id":27794913,"uuid":"31283884","full_name":"mkuthan/example-spark","owner":"mkuthan","description":"Spark, Spark Streaming and Spark SQL unit testing strategies","archived":false,"fork":false,"pushed_at":"2016-10-12T20:13:20.000Z","size":100,"stargazers_count":218,"open_issues_count":2,"forks_count":136,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-03-17T13:11:46.911Z","etag":null,"topics":["spark","spark-streaming","testing"],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mkuthan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-24T21:52:59.000Z","updated_at":"2025-02-13T20:04:22.000Z","dependencies_parsed_at":"2022-08-26T04:42:07.105Z","dependency_job_id":null,"html_url":"https://github.com/mkuthan/example-spark","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkuthan%2Fexample-spark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkuthan%2Fexample-spark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkuthan%2Fexample-spark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkuthan%2Fexample-spark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkuthan","download_url":"https://codeload.github.com/mkuthan/example-spark/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245767351,"owners_count":20668826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["spark","spark-streaming","testing"],"created_at":"2024-11-06T01:53:12.849Z","updated_at":"2025-03-27T02:10:21.877Z","avatar_url":"https://github.com/mkuthan.png","language":"Scala","readme":"# Spark, Spark Streaming and Spark SQL unit testing strategies\n\n[![Build Status](https://travis-ci.org/mkuthan/example-spark.svg?branch=master)](https://travis-ci.org/mkuthan/example-spark) [![Coverage Status](https://img.shields.io/coveralls/mkuthan/example-spark.svg)](https://coveralls.io/r/mkuthan/example-spark?branch=master)\n\nFeatures\n========\n\n* [ClockWrapper](src/test/scala/org/apache/spark/ClockWrapper.scala) for efficient clock management in Spark Streaming jobs.\n* Base traits for testing [Spark](src/test/scala/org/mkuthan/spark/SparkSpec.scala), [Spark Streaming](src/test/scala/org/mkuthan/spark/SparkStreamingSpec.scala) and [Spark SQL](src/test/scala/org/mkuthan/spark/SparkSqlSpec.scala) to eliminate boilerplate code.\n* Sample applications to show how to make your code testable.\n* All tests can be run or debugged directly from IDE, or using SBT.\n* All test fixtures are prepared as in-memory data structures.\n* SBT is configured to avoid problems with multiple Spark contexts in the same JVM [SPARK-2243](https://issues.apache.org/jira/browse/SPARK-2243).\n* SBT is configured to prepare project assembly for deployment on the cluster.\n\nReferences\n==========\n\n* [http://mkuthan.github.io/blog/2015/03/01/spark-unit-testing/](http://mkuthan.github.io/blog/2015/03/01/spark-unit-testing/)\n* [https://github.com/holdenk/spark-testing-base](https://github.com/holdenk/spark-testing-base)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkuthan%2Fexample-spark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkuthan%2Fexample-spark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkuthan%2Fexample-spark/lists"}