-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
29 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2017 Alexander Williams, Unscramble <[email protected]> | ||
Copyright (c) 2019 Alexander Williams, Unscramble <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
this software and associated documentation files (the "Software"), to deal in | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# picolisp-unit Makefile | ||
|
||
.PHONY: all | ||
|
||
all: check | ||
|
||
check: | ||
@for i in plain default; do TEST_REPORTER="$$i" ./test.l; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
[de MODULE_INFO | ||
("name" "unit") | ||
("version" "2.1.0") | ||
("version" "3.0.0") | ||
("summary" "Unit Testing framework for PicoLisp") | ||
("source" "https://github.com/aw/picolisp-unit.git") | ||
("author" "Alexander Williams") | ||
("license" "MIT") | ||
("copyright" "(c) 2017 Alexander Williams, Unscramble <[email protected]>") ] | ||
("copyright" "(c) 2019 Alexander Williams, Unscramble <[email protected]>") ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,6 @@ | |
# | ||
# Copyright (c) 2017 Alexander Williams, Unscramble <[email protected]> | ||
|
||
(unless (= "false" (sys "PIL_NAMESPACES")) | ||
(local *Colours print-report print-passed print-failed report-failed print-error) | ||
(local print-expected print-got exit-gracefully) ) | ||
|
||
(de *Colours ("red" . 1) | ||
("green" . 2) | ||
("yellow" . 3) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,6 @@ | |
# | ||
# Copyright (c) 2017 Alexander Williams, Unscramble <[email protected]> | ||
|
||
(unless (= "false" (sys "PIL_NAMESPACES")) (local print-report)) | ||
|
||
[de print-report () | ||
(mapcar println *Results) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,7 @@ | |
# | ||
# The MIT License (MIT) | ||
# | ||
# Copyright (c) 2017 Alexander Williams, Unscramble <[email protected]> | ||
|
||
(unless (= "false" (sys "PIL_NAMESPACES")) | ||
(when symbols (symbols 'unit 'pico)) | ||
|
||
(local MODULE_INFO *My_tests_are_order_dependent *Results) | ||
(local randomize passed failed queue-results colour plural? get-results) ) | ||
# Copyright (c) 2019 Alexander Williams, Unscramble <[email protected]> | ||
|
||
(load (pack (car (file)) "module.l")) | ||
(load (pack (car (file)) "reporters/" (if (sys "TEST_REPORTER") @ "default") ".l")) | ||
|