Skip to content
Browse files

add subtest project for testing

  • Loading branch information...
1 parent a2f03e4 commit 0f2326cbf723c2402221e9f4909ece93eb26555f @kumarshantanu committed Sep 30, 2012
View
10 subtest/.gitignore
@@ -0,0 +1,10 @@
+/target
+/lib
+/classes
+/checkouts
+pom.xml
+*.jar
+*.class
+.lein-deps-sum
+.lein-failures
+.lein-plugins
View
13 subtest/README.md
@@ -0,0 +1,13 @@
+# subtest
+
+A Clojure library designed to ... well, that part is up to you.
+
+## Usage
+
+FIXME
+
+## License
+
+Copyright © 2012 FIXME
+
+Distributed under the Eclipse Public License, the same as Clojure.
View
10 subtest/child/.gitignore
@@ -0,0 +1,10 @@
+/target
+/lib
+/classes
+/checkouts
+pom.xml
+*.jar
+*.class
+.lein-deps-sum
+.lein-failures
+.lein-plugins
View
13 subtest/child/README.md
@@ -0,0 +1,13 @@
+# child
+
+A Clojure library designed to ... well, that part is up to you.
+
+## Usage
+
+FIXME
+
+## License
+
+Copyright © 2012 FIXME
+
+Distributed under the Eclipse Public License, the same as Clojure.
View
6 subtest/child/project.clj
@@ -0,0 +1,6 @@
+(defproject child "0.1.0-SNAPSHOT"
+ :description "FIXME: write description"
+ :url "http://example.com/FIXME"
+ :license {:name "Eclipse Public License"
+ :url "http://www.eclipse.org/legal/epl-v10.html"}
+ :dependencies [[org.clojure/clojure "1.4.0"]])
View
6 subtest/child/src/child/core.clj
@@ -0,0 +1,6 @@
+(ns child.core)
+
+(defn foo
+ "I don't do a whole lot."
+ [x]
+ (println x "Hello, World!"))
View
7 subtest/child/test/child/core_test.clj
@@ -0,0 +1,7 @@
+(ns child.core-test
+ (:use clojure.test
+ child.core))
+
+(deftest a-test
+ (testing "FIXME, I fail."
+ (is (= 0 1))))
View
10 subtest/child2/.gitignore
@@ -0,0 +1,10 @@
+/target
+/lib
+/classes
+/checkouts
+pom.xml
+*.jar
+*.class
+.lein-deps-sum
+.lein-failures
+.lein-plugins
View
13 subtest/child2/README.md
@@ -0,0 +1,13 @@
+# child2
+
+A Clojure library designed to ... well, that part is up to you.
+
+## Usage
+
+FIXME
+
+## License
+
+Copyright © 2012 FIXME
+
+Distributed under the Eclipse Public License, the same as Clojure.
View
6 subtest/child2/project.clj
@@ -0,0 +1,6 @@
+(defproject child2 "0.1.0-SNAPSHOT"
+ :description "FIXME: write description"
+ :url "http://example.com/FIXME"
+ :license {:name "Eclipse Public License"
+ :url "http://www.eclipse.org/legal/epl-v10.html"}
+ :dependencies [[org.clojure/clojure "1.4.0"]])
View
6 subtest/child2/src/child2/core.clj
@@ -0,0 +1,6 @@
+(ns child2.core)
+
+(defn foo
+ "I don't do a whole lot."
+ [x]
+ (println x "Hello, World!"))
View
7 subtest/child2/test/child2/core_test.clj
@@ -0,0 +1,7 @@
+(ns child2.core-test
+ (:use clojure.test
+ child2.core))
+
+(deftest a-test
+ (testing "FIXME, I fail."
+ (is (= 0 1))))
View
8 subtest/project.clj
@@ -0,0 +1,8 @@
+(defproject subtest "0.1.0-SNAPSHOT"
+ :description "FIXME: write description"
+ :url "http://example.com/FIXME"
+ :license {:name "Eclipse Public License"
+ :url "http://www.eclipse.org/legal/epl-v10.html"}
+ :dependencies [[org.clojure/clojure "1.4.0"]]
+ :plugins [[lein-sub "0.2.3"]]
+ :sub ["child" "child2"])
View
6 subtest/src/subtest/core.clj
@@ -0,0 +1,6 @@
+(ns subtest.core)
+
+(defn foo
+ "I don't do a whole lot."
+ [x]
+ (println x "Hello, World!"))
View
7 subtest/test/subtest/core_test.clj
@@ -0,0 +1,7 @@
+(ns subtest.core-test
+ (:use clojure.test
+ subtest.core))
+
+(deftest a-test
+ (testing "FIXME, I fail."
+ (is (= 0 1))))

0 comments on commit 0f2326c

Please sign in to comment.
Something went wrong with that request. Please try again.