100% pure-Fish test runner
!
notation (#59).@test
function (#58).fishtape | report
less useful.setup
and teardown
functions.
$current_dirname
and $current_filename
variables in favor of status dirname
or status filename
.at
error field to indicate the file name and line where a test failed.fish -c source
(#44).
fish
, and remove the file afterward.tty
tests (#44).-x
(exclusive) flag to complete fishtape
.$current_dirname
variable and renamed $filename
to $current_file
(#39).
$status
to 0
after running the setup
function hook.@test
to test array equality/non-equality: @test "description" a b c = a b c
.1
if one or more tests fail.fish_indent
(#34).
test
..end
block syntax in favor of using actual fish syntax.@test
declaration to create (still converted to test
calls under the hood).--pipe
in favor of a userland solution like "fish -c "fishtape *.fish | tap-nyan"
.$FILENAME
(renamed to $filename
).