jank-lang / clojure.core-test

Dialect-independent tests for clojure.core, focused on locking down how Clojure JVM behaves so that other dialects to reach parity.
Mozilla Public License 2.0
4 stars 3 forks source link

Test all the things! :tada: #1

Open jeaye opened 1 month ago

jeaye commented 1 month ago

General process

Anyone is welcome to join in and write tests. The process goes like this:

  1. Pick a function from the list
  2. Leave a comment on this ticket to claim that function
  3. Create a new .cljc test file for that function
  4. Work through the testing questions, implementing tests for each
  5. Add any additional tests for all the edge cases you can think of
  6. Keep your tests dialect-independent (i.e. wrap any Java interop in a reader conditional and provide CLJS equivalents)
  7. Make a PR to add your new tests!

Testing questions

Common cases

Things we don't need to test

Test progress

quoll commented 1 month ago

Claiming and '

quoll commented 1 month ago

Claimed add-tap, remove-tap and tap>

Note: Included some short calls to Thread/sleep since taps respond asynchronously and code can race.

NoahTheDuke commented 1 month ago

Claiming or: #8

NoahTheDuke commented 4 weeks ago

Claiming some? and not: #11