Skip to content

Instantly share code, notes, and snippets.

@weissjeffm
Created May 17, 2011 16:08
Show Gist options
  • Select an option

  • Save weissjeffm/976755 to your computer and use it in GitHub Desktop.

Select an option

Save weissjeffm/976755 to your computer and use it in GitHub Desktop.
dp-example.clj
(defn ^{Test {:dataProvider "mydata"}}
myfn [_ onearg]
(println (str "called with " onearg)))
(defn ^{DataProvider {:name "mydata"}} mydp [_]
(to-array-2d [[1] ["hi"] [3] [nil]]))
(gen-class-testng)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment