Hello fellow AwesomeWM users,

I am trying to write some test for my config, just for the heck of it.
i am trying to use busted[1]

But i am having troubles even loading awesome lua code.

```
package.path = package.path .. 
';/usr/share/awesome/lib/?.lua;/usr/share/awesome/lib/?/init.lua'
battery = require("cfg.widgets.battery")
describe("a test", function()
  it("runs a test", function() end)
end)
```

Basically it gives me this:

/usr/lib/lua/5.2/busted/core.lua:67: /usr/share/awesome/lib/awful/tag.lua:576: 
attempt to index field 'client' (a nil value)

So what do you recomend ? Is it to hard to make awesome load its code
and run the tests to some parts of my config ? Or am I being a complete 
lunatic  if think I can pull this off?

--
Regards,
Alfredo Palhares

-- 
To unsubscribe, send mail to [email protected].

Reply via email to