Skip to content

Releases: datafilter/t3st

A point in time.

04 Nov 17:24

Choose a tag to compare

Releases are somewhat arbitrary now, since all changes are tested automatically when pushed to the repo, and new versions are released when all tests pass.

Whats new since the last release?

A way to generate code coverage is shown in the t3st help command.

A way to import javascript modules that have a ".js" filename extension instead of ".mjs"

Cleaner error output.

Home is where the heart is

24 Jul 07:18

Choose a tag to compare

Cli runs test in currecnt or target directory via:

When you are in the directory:
t3st

From anywhere:
t3st [project directory/tests]
t3st [project directory] (which changes to target [project directory/tests] by detecting project.json file)

Birds of a feather

12 Sep 08:26

Choose a tag to compare

Assert yields false for isomorphic objects with different references.

Ergo:

alike(object, object)

Compares the data of value objects

Run forest, run!

21 Mar 20:43

Choose a tag to compare

Closed all to-do's and added a bunch of tests. Kudo's to PR's that test the untested.

run

Run all the tests in a directory. Prints to screen by default (can be changed by passing function of what to do with result), and sets exit code to 1 on error.

affirm

(...args) => expression with args => assert(true, expression)
Prints each arg on error to help with debugging.

Assert(this, that)

28 Feb 23:02

Choose a tag to compare

// Does same as assert(this === that)
// but also shows the expression in the error message
assert(actual, expected)

// or if you are into saying things like: is blue the color of the sky ?   
// instead of just : is the sky blue ?
assert(expected, actual)

Latest and greatest

18 Feb 21:53

Choose a tag to compare

The last release version had everything you ever wanted from a test framework..

This release is even better because it has a greater, more prominent and even higher version number than ever before !

All you need

18 Feb 21:02

Choose a tag to compare

It has testing with assert.

It shows you whether a failure was because of
~ the evaluation (and prints the evaluation!),
~ or whether it came from something unexpected!

You could even print your tests to the console 😮