renamed commen-test -> test-helper
This commit is contained in:
parent
6d520d3fa8
commit
508f0a76f8
7 changed files with 20 additions and 18 deletions
20
README.md
20
README.md
|
@ -24,19 +24,21 @@ Our convention 4 kubernetes c4k-* tools combine the advantages of both approache
|
||||||
|
|
||||||
## Refactoring & Module Overview
|
## Refactoring & Module Overview
|
||||||
|
|
||||||
| Module | Version | common postgres | frontend script | provider adapter | [backup as deployment][bak1] | [speced c4k-common][com1] | [configs can be of type EDN and YAML][yaml1] |
|
| Module | Version | common postgres | frontend script | provider adapter | [backup as deployment][bak1] | [speced c4k-common][com1] | [configs as EDN and YAML][yaml1] | [renamed test-helper][th1] |
|
||||||
|------------------|---------|:---------------:|:---------------:|:----------------:|:----------------------------:|:-------------------------:|:--------------------------------------------:|
|
|------------------|---------|:---------------:|:---------------:|:----------------:|:----------------------------:|:-------------------------:|:--------------------------------:|:--------------------------:|
|
||||||
| c4k-mastodon-bot | 0.1 | - | | | | | |
|
| c4k-mastodon-bot | 0.1 | - | | | | | | |
|
||||||
| c4k-keycloak | 0.2 | | | | | | |
|
| c4k-keycloak | 0.2 | | | | | | | |
|
||||||
| c4k-jira | 1.1 | x | x | | x | | |
|
| c4k-jira | 1.1 | x | x | | x | | | |
|
||||||
| c4k-nextcloud | 2.0 | x | x | | x | x | x |
|
| c4k-nextcloud | 2.0 | x | x | | x | x | x | |
|
||||||
| c4k-jitsi | 1.2 | | | | | | |
|
| c4k-jitsi | 1.2 | | | | | | | |
|
||||||
| c4k-gittea | 0.1 | | | | | | |
|
| c4k-gittea | 0.1 | | | | | | | |
|
||||||
| c4k-shynet | 1.0 | | | | | | |
|
| c4k-shynet | 1.0 | | | | | | | |
|
||||||
|
| c4k-website | 0.1 | | | | | | | |
|
||||||
|
|
||||||
[bak1]: https://gitlab.com/domaindrivenarchitecture/c4k-jira/-/merge_requests/1
|
[bak1]: https://gitlab.com/domaindrivenarchitecture/c4k-jira/-/merge_requests/1
|
||||||
[com1]: https://gitlab.com/domaindrivenarchitecture/c4k-nextcloud/-/merge_requests/3
|
[com1]: https://gitlab.com/domaindrivenarchitecture/c4k-nextcloud/-/merge_requests/3
|
||||||
[yaml1]: https://gitlab.com/domaindrivenarchitecture/c4k-nextcloud/-/merge_requests/4
|
[yaml1]: https://gitlab.com/domaindrivenarchitecture/c4k-nextcloud/-/merge_requests/4
|
||||||
|
[th1]: https://
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
(defproject org.domaindrivenarchitecture/c4k-common-cljs "2.1.3-SNAPSHOT"
|
(defproject org.domaindrivenarchitecture/c4k-common-cljs "3.0.0-SNAPSHOT"
|
||||||
:description "Contains predicates and tools for c4k"
|
:description "Contains predicates and tools for c4k"
|
||||||
:url "https://domaindrivenarchitecture.org"
|
:url "https://domaindrivenarchitecture.org"
|
||||||
:license {:name "Apache License, Version 2.0"
|
:license {:name "Apache License, Version 2.0"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
(defproject org.domaindrivenarchitecture/c4k-common-clj "2.1.3-SNAPSHOT"
|
(defproject org.domaindrivenarchitecture/c4k-common-clj "3.0.0-SNAPSHOT"
|
||||||
:description "Contains predicates and tools for c4k"
|
:description "Contains predicates and tools for c4k"
|
||||||
:url "https://domaindrivenarchitecture.org"
|
:url "https://domaindrivenarchitecture.org"
|
||||||
:license {:name "Apache License, Version 2.0"
|
:license {:name "Apache License, Version 2.0"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
(ns dda.c4k-common.common-test)
|
(ns dda.c4k-common.test-helper)
|
||||||
|
|
||||||
; Heavily assumes c1 and c2 have an identical structure but maybe different values
|
; Heavily assumes c1 and c2 have an identical structure but maybe different values
|
||||||
; This function finds the diff of two nested maps/vectors
|
; This function finds the diff of two nested maps/vectors
|
|
@ -1,4 +1,4 @@
|
||||||
(ns dda.c4k-common.common-it-test
|
(ns dda.c4k-common.common-test
|
||||||
(:require
|
(:require
|
||||||
#?(:clj [clojure.test :refer [deftest is are testing run-tests]]
|
#?(:clj [clojure.test :refer [deftest is are testing run-tests]]
|
||||||
:cljs [cljs.test :refer-macros [deftest is are testing run-tests]])
|
:cljs [cljs.test :refer-macros [deftest is are testing run-tests]])
|
|
@ -3,7 +3,7 @@
|
||||||
#?(:clj [clojure.test :refer [deftest is are testing run-tests]]
|
#?(:clj [clojure.test :refer [deftest is are testing run-tests]]
|
||||||
:cljs [cljs.test :refer-macros [deftest is are testing run-tests]])
|
:cljs [cljs.test :refer-macros [deftest is are testing run-tests]])
|
||||||
[clojure.spec.test.alpha :as st]
|
[clojure.spec.test.alpha :as st]
|
||||||
[dda.c4k-common.common-test :as ct]
|
[dda.c4k-common.test-helper :as ct]
|
||||||
[dda.c4k-common.postgres :as cut]))
|
[dda.c4k-common.postgres :as cut]))
|
||||||
|
|
||||||
(st/instrument `cut/generate-config)
|
(st/instrument `cut/generate-config)
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
(is (false? (cut/host-and-port-string? "test.123:1234")))
|
(is (false? (cut/host-and-port-string? "test.123:1234")))
|
||||||
(is (false? (cut/host-and-port-string? "test.de:abc"))))
|
(is (false? (cut/host-and-port-string? "test.de:abc"))))
|
||||||
|
|
||||||
(deftest test-string-vector?
|
(deftest test-string-sequence?
|
||||||
(is (true? (cut/string-vector? ["hallo" "welt" "!"])))
|
(is (true? (cut/string-sequence? ["hallo" "welt" "!"])))
|
||||||
(is (false? (cut/string-vector? ["hallo" 1 "welt" "!"])))
|
(is (false? (cut/string-sequence? ["hallo" 1 "welt" "!"])))
|
||||||
(is (false? (cut/string-vector? "hallo welt!"))))
|
(is (false? (cut/string-sequence? "hallo welt!"))))
|
Loading…
Reference in a new issue