Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

add subtest project for testing

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

0 comments on commit 0f2326c

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