Skip to content
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.

API Coverage Metrics #144

Open
LPGhatguy opened this issue Oct 15, 2018 · 3 comments
Open

API Coverage Metrics #144

LPGhatguy opened this issue Oct 15, 2018 · 3 comments

Comments

@LPGhatguy
Copy link
Owner

It should be possible to codegen a test harness that will tell us how close to basic compliance we have in a few different places.

@Kampfkarren
Copy link
Contributor

Kampfkarren commented Oct 15, 2018

So like, it would codegen?:

local Humanoid = Instance.new("Humanoid")
expect(Humanoid).to.be.ok()

expect(Humanoid.Health).to.equal(100)
-- ...

expect(typeof(Humanoid:Clone())).to.equal("Instance")
-- ...

(or whatever the Busted equivalents are, I forget)

@LPGhatguy
Copy link
Owner Author

Something like that! It could also be driven off of a JSON file or whatnot checked into the repository, which would be easier to maintain.

@Kampfkarren
Copy link
Contributor

I'm interested in working on this, API-Dump.json provides enough information it seems.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants