Commit graph

66 commits

Author SHA1 Message Date
Gabriel Horner
665ae4dd97
Finish up library tests (#1120)
* Add tests for markdown-clj and tools.namespace

See comment for why only one markdown test could be run.
Closes #1069 and #1064

* Convert 10 test libs using add-libtest

Also improved add-libtest to only require maven artifact
and rely on clojars for getting git-url most of the time

* Convert 8 more test libs using add-libtest

Also updated table and added comment for newline test

* Fix doric test

* Disable tools.namespace test that fails on windows

* Added dozen manual test libs and converted 2 test libs

add-libtest.clj supports manually-added and test-directories options

* Converts last tests to test namespaces and write libraries.csv

* Add a number of library tests from projects.md

Also add more docs around adding test libs and tweak add script

* Use :sha for gitlib and older clojure cli

* Revert "Use :sha for gitlib and older clojure cli"

This reverts commit c663ab8368.

* Fix and disable failing tests

Disabled tests that fail consistently and fixed windows one
2021-12-29 16:35:14 +01:00
Michiel Borkent
fb7f984389
[#1110] Load tasks and deps from other bb.edn file (#1117)
Co-authored-by: Bob <highpressurecarsalesman@gmail.com>
2021-12-26 17:26:35 +01:00
Gabriel Horner
3a30a11c1f
Add more library tests (#1114)
* Add environ and table tests

Also allow for directory option and fix nasty nil test-dir bug

* Add 7 libraries via add-libtest.clj

Added :branch option and saved additional info to bb-tested-libs.edn to
reproduce test fetching later

* Disable intermittent failing test
2021-12-22 21:27:29 +01:00
Gabriel Horner
4e7d04f672
Add libtest (#1112)
* Add add-libtest script and add 2 libraries with it

* Add tests for 3 existing libraries
2021-12-21 19:25:10 +01:00
Gabriel Horner
4f8eb37704
Added specmonstah and dependency to tested libraries (#1109)
* Enable specmonstah tests now that it's merged

* Add dependency to tests and doc added libs

* Use the older :sha for compat with older clojure cli
2021-12-16 15:46:50 +01:00
Michiel Borkent
a3633faf3f test 2021-12-09 18:35:10 +01:00
Michiel Borkent
fb0fbe87fc spec test 2021-12-09 17:43:06 +01:00
Michiel Borkent
b67d539ab0 fields 2021-12-09 17:42:55 +01:00
Michiel Borkent
5d324dd201 Added integrant tests 2021-12-08 23:11:32 +01:00
Michiel Borkent
4f21669f6b Add orchestra tests 2021-12-08 22:57:16 +01:00
Michiel Borkent
f754578075 Add coax tests 2021-12-08 21:31:58 +01:00
Michiel Borkent
6d14ed61f1 Add better-cond to CI tests 2021-12-08 18:46:53 +01:00
Michiel Borkent
9dd4941230 Add spec tests to CI 2021-12-08 18:26:17 +01:00
Michiel Borkent
4566905a5c
Add compatibility with hato and clj-http-lite insecure feature (#1080)
Added classes:

- java.net.CookiePolicy
- java.net.http.HttpTimeoutException
- javax.net.ssl.HostnameVerifier
- javax.net.ssl.HttpsURLConnection
- javax.net.ssl.KeyManagerFactory
- javax.net.ssl.SSLSession
- javax.net.ssl.TrustManagerFactory
- java.security.KeyStore
- java.util.zip.Inflater
- java.util.zip.ZipException
2021-11-27 15:58:24 +01:00
Bob
8dad1fa473
ruuter and clj-digest tests (#1034)
* add lib tests for using ruuter with built-in httpkit server

* just to be safe, add a timeout to ruuter's HTTP requests

* add tests for clj-commons.digest

* add newly-tested libraries to the library list

* undo paren moves I missed that were done by parinfer

* typo
2021-10-17 23:12:28 +02:00
Bob
a39cdc7e8c
Component lib test (#1016)
* add lib test for component

* add example of using GZip
2021-09-26 23:47:39 +02:00
Michiel Borkent
0f723a1e7c
Fix aarch64 test (#1007) 2021-09-11 18:13:12 +02:00
Michiel Borkent
943dc69c66 Fix test 2021-09-01 23:30:33 +02:00
Michiel Borkent
1a764f3120 [#997] Add smoke test 2021-09-01 23:14:35 +02:00
Michiel Borkent
1da01203ce Fix test 2021-09-01 11:54:09 +02:00
Michiel Borkent
23ba52a813
[#979] More java net http tests and tweaks (#996) 2021-09-01 11:36:24 +02:00
Bob
83b6d1e662
add lib test and an example for multigrep (#461) (#968)
* fix lanterna constants ns name

* add multigrep lib test and example
2021-08-11 10:52:00 +02:00
Michiel Borkent
7fac0f1eb9
[#947] Vault tests, part 1 (#949) 2021-07-21 12:35:38 +02:00
Michiel Borkent
a888a340ae Update Slmer: include << macro 2021-07-14 16:30:27 +02:00
Bob
af6f94ef81
run lib tests in Windows CI (#933)
* run lib tests in Windows CI

- add batch scripts for invoking tests
- skip some tests on windows
- tweak a couple tests to run on linux and windows

* configure git to checkout with Windows line endings on Appveyor
2021-07-12 00:00:14 +02:00
Michiel Borkent
8c37594006 Add clojure.data.json tests 2021-07-10 17:16:14 +02:00
Bob
b53be25b94
[#817] add crispin to lib tests and projects.md (#918)
* add crispin to lib tests and projects.md

* add a missing line in crispin example
2021-07-07 10:01:36 +02:00
Bob
097e45d180
[#877] add omniconf lib tests 2021-07-05 21:12:11 +02:00
Michiel Borkent
ef64e93238 replikativ/hasch tests in CI 2021-06-21 21:58:41 +02:00
Michiel Borkent
15e54ef0a1
Add support for slingshot #675 (#881)
* Add java.util.Arrays/copyOfRange for slingshot

* add exception for tests

* Add slingshot tests
2021-06-09 10:39:43 +02:00
Michiel Borkent
e6a2fdbb45
Add HoneySql v2 tests (#841) 2021-05-14 12:04:56 +02:00
Michiel Borkent
5554619a9d Selmer: util/set-missing-value-formatter! 2021-05-11 22:13:50 +02:00
Michiel Borkent
4ffd08f360 [#835] Expose escaping functions from selmer.util 2021-05-11 13:19:31 +02:00
Michiel Borkent
f6e3e81252 [#823] Add tests for jasentaa 2021-05-07 12:08:02 +02:00
Michiel Borkent
cab3307a07 [#823] Add tests for jasentaa 2021-05-07 11:58:18 +02:00
Michiel Borkent
cbd8a2d07d
[#821] Include Selmer 2021-05-06 12:53:59 +02:00
Michiel Borkent
e0b1c1b01e
[#784] Support binf.cljc library by adding ByteBuffer and Charset-related classes (#789) 2021-04-14 23:27:31 +02:00
Michiel Borkent
1870e2729e
[#769] rewrite-clj support 2021-04-04 16:22:45 +02:00
Michiel Borkent
4229cab9b4 Update version-clj tests 2021-03-14 21:04:55 +01:00
Michiel Borkent
d0431b8bb6 [#741] Fix cyclic dep problem with doric lib 2021-03-01 12:17:04 +01:00
Michiel Borkent
1dd20b0a0c Add failjure to libtests 2021-02-13 10:48:59 +01:00
Michiel Borkent
9220b983c5 Fix gaka tests 2021-02-03 23:06:18 +01:00
Michiel Borkent
2136c0a19b Add gaka lib tests 2021-02-03 14:50:58 +01:00
Michiel Borkent
77a95cf778 Fix core.match test 2021-01-28 23:19:10 +01:00
Michiel Borkent
931fadabb2
[#487] Include clojure.test.check as preparation for clojure.spec 2021-01-24 21:07:07 +01:00
Michiel Borkent
c4bb42df3e
[#646] Add hiccup.core and hiccup2.core 2021-01-23 22:47:35 +01:00
Michiel Borkent
497bfb01da
[#594] Include clojure.core.match 2021-01-23 14:02:00 +01:00
Michiel Borkent
c725c3be0b [babashka/process#31] Add tests to bb CI 2020-11-26 23:40:48 +01:00
Michiel Borkent
d8e14c278d Libtest improvements 2020-09-21 10:56:33 +02:00
Michiel Borkent
a1d34f5242
[#556] Add org.httpkit.server namespace (experimental) 2020-09-20 23:19:49 +02:00