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
|
||||
|
||||
| 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] |
|
||||
|------------------|---------|:---------------:|:---------------:|:----------------:|:----------------------------:|:-------------------------:|:--------------------------------------------:|
|
||||
| c4k-mastodon-bot | 0.1 | - | | | | | |
|
||||
| c4k-keycloak | 0.2 | | | | | | |
|
||||
| c4k-jira | 1.1 | x | x | | x | | |
|
||||
| c4k-nextcloud | 2.0 | x | x | | x | x | x |
|
||||
| c4k-jitsi | 1.2 | | | | | | |
|
||||
| c4k-gittea | 0.1 | | | | | | |
|
||||
| c4k-shynet | 1.0 | | | | | | |
|
||||
| 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-keycloak | 0.2 | | | | | | | |
|
||||
| c4k-jira | 1.1 | x | x | | x | | | |
|
||||
| c4k-nextcloud | 2.0 | x | x | | x | x | x | |
|
||||
| c4k-jitsi | 1.2 | | | | | | | |
|
||||
| c4k-gittea | 0.1 | | | | | | | |
|
||||
| c4k-shynet | 1.0 | | | | | | | |
|
||||
| c4k-website | 0.1 | | | | | | | |
|
||||
|
||||
[bak1]: https://gitlab.com/domaindrivenarchitecture/c4k-jira/-/merge_requests/1
|
||||
[com1]: https://gitlab.com/domaindrivenarchitecture/c4k-nextcloud/-/merge_requests/3
|
||||
[yaml1]: https://gitlab.com/domaindrivenarchitecture/c4k-nextcloud/-/merge_requests/4
|
||||
[th1]: https://
|
||||
|
||||
## 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"
|
||||
:url "https://domaindrivenarchitecture.org"
|
||||
: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"
|
||||
:url "https://domaindrivenarchitecture.org"
|
||||
: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
|
||||
; 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
|
||||
#?(:clj [clojure.test :refer [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]]
|
||||
:cljs [cljs.test :refer-macros [deftest is are testing run-tests]])
|
||||
[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]))
|
||||
|
||||
(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.de:abc"))))
|
||||
|
||||
(deftest test-string-vector?
|
||||
(is (true? (cut/string-vector? ["hallo" "welt" "!"])))
|
||||
(is (false? (cut/string-vector? ["hallo" 1 "welt" "!"])))
|
||||
(is (false? (cut/string-vector? "hallo welt!"))))
|
||||
(deftest test-string-sequence?
|
||||
(is (true? (cut/string-sequence? ["hallo" "welt" "!"])))
|
||||
(is (false? (cut/string-sequence? ["hallo" 1 "welt" "!"])))
|
||||
(is (false? (cut/string-sequence? "hallo welt!"))))
|
Loading…
Reference in a new issue