No tests for variables
I just noticed that none of the validity tests check if variables are behaving correctly.
some ideas for tests:
- redefinition of variables
let var = "abc" let var = 123 - global ids, especially that when variable is accessed it uses the same id as it was when it was assigned
- a ton of other stuff, like accessing a variable from another scope and whatnot
I think that we need a list of every kind of statement and expression and check od we have tests for it
In validity there are a lot of tests but I don't think that there is one like this.
@KrosFire Do you mean some kind of features.txt so that we can keep it as a checklist for all of the features that Amber currently has?
@Ph0enixKM I'm thinking of code coverage. Some anayltics tool to show us what we're missing in tests
@Ph0enixKM we got that in the meantime?
We absolutely do