CFC-Servers / CFC-Servers/GLuaTest

Fully support extensions that add GLuaTest "flavors"

Open
#83 2 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Lua
Stars
87
Forks
14
PR merge metrics
No merged PRs in 30d

Description

One benefit of having GLuaTest operate on tables is that we don't really care how the end user actually _makes_ the table.

With this in mind, we could actually create "flavors" of GLuaTest syntax that more closely match the syntax that people have come to love in other frameworks.

Some ideas:
- [Jest](https://jestjs.io/)
- [RSpec](https://rspec.info/)
- [xunit](https://github.com/xunit/xunit)

To accomplish this, GLuaTest will need to have a sufficient number of hooks that allow Extensions to modify anything they'd like. Off the top of my head this means, certainly:
- Some way to add globals to test files when they load.. somehow
- A handler hook that passes the raw table received when loading a test file

Best way to actually figure the rest of these out is to just try making one of these flavors. I'll probably start with Jest or RSpect.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.