https://github.com/sirscriptalot/test
An experimental Red testing dialect.
https://github.com/sirscriptalot/test
lesscode testing
Last synced: 10 months ago
JSON representation
An experimental Red testing dialect.
- Host: GitHub
- URL: https://github.com/sirscriptalot/test
- Owner: sirscriptalot
- License: mit
- Created: 2017-07-23T15:34:16.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-26T13:32:42.000Z (over 8 years ago)
- Last Synced: 2025-01-11T14:49:14.170Z (12 months ago)
- Topics: lesscode, testing
- Language: Red
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# test
An experimentation Red testing dialect.
# Usage
```red
; './tests/all.red'
ball: object [
toss: does [
"always blue!"
]
]
test "ball/toss" [
"is always blue!" [
ball/toss = "always blue!" ; return value from the block must be truthy to pass
]
]
```
Run your tests via the red CLI:
`red -s ./tests/all.red`