Skip to content

Commit

Permalink
Add note about busted.runner error in README
Browse files Browse the repository at this point in the history
I thought this was useful - it took me a while to figure out what was
going on. Maybe this can save someone else the time.

Ultimately got it from the `nlua` README.
  • Loading branch information
aaronik authored and mfussenegger committed Aug 11, 2024
1 parent 8757746 commit f9031f2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ luarocks test spec/path_to_file.lua --local
busted spec/path_to_file.lua
```

If you see an error like `module 'busted.runner' not found`:

```bash
eval $(luarocks path --no-bin)
```

[rockspec-format]: https://github.com/luarocks/luarocks/wiki/Rockspec-format
[luarocks]: https://luarocks.org
[luarocks-api-key]: https://luarocks.org/settings/api-keys
Expand Down

0 comments on commit f9031f2

Please sign in to comment.