Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to run tests #52

Open
mtdowling opened this issue Dec 11, 2024 · 0 comments
Open

Ability to run tests #52

mtdowling opened this issue Dec 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mtdowling
Copy link

The luarocks CLI has a test command that installs test dependencies and runs tests. That's nice, but I'd like Cyan to be my one-stop-shop for build tooling. The luarocks CLI also does't understand Teal, so to write unit tests in Teal, you need a non-trivial amount of build glue to compile then test. That build glue usually means pulling in yet another tool like Make to orchestrate the steps. Ideally Cyan could have a test task that:

  1. Installs test dependencies when necessary based on a dev rockspec (e.g., <name>-dev-1.rockspec)
  2. Auto-detects busted tests, but somehow supports other configurable testing frameworks
  3. Doesn't require the user to pre-compile Teal files into Lua (it should automatically handle this and put the files in a build directory)
@euclidianAce euclidianAce added the enhancement New feature or request label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants