https://github.com/molnarmark/fay
WIP unit testing in Multi Theft Auto
https://github.com/molnarmark/fay
Last synced: 3 months ago
JSON representation
WIP unit testing in Multi Theft Auto
- Host: GitHub
- URL: https://github.com/molnarmark/fay
- Owner: molnarmark
- Created: 2018-05-08T18:33:01.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-14T19:00:51.000Z (about 8 years ago)
- Last Synced: 2025-10-12T19:56:01.966Z (9 months ago)
- Language: Lua
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fay
Work in progress Unit testing library for Multi Theft Auto
## Example
```lua
Fay {
it("should check if Fay is working correctly", function(sertify)
local ped = createPed(310, 5, 10, 15)
sertify:expect(5):toBe(5)
sertify:expect({1, 2, 3}):atIndex(2):toBe(5)
sertify:expect(ped):toBeAnElement()
end)
}
```