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

All features Automated Testing #29

Open
Axlfc opened this issue Dec 27, 2022 · 0 comments
Open

All features Automated Testing #29

Axlfc opened this issue Dec 27, 2022 · 0 comments
Assignees
Labels
Bug Something isn't working Customizer Features Relative to Customizer features Major Major priority

Comments

@Axlfc
Copy link
Contributor

Axlfc commented Dec 27, 2022

Basically we can divide this in two different algirthm. The first one is about code health and static checking of the code. Such as codacy, but for the customizer rules :
Examples of things of health this algorithm could revise:

  • All features have the mandatory properties
  • All features are using a pool of the possible properties and not outdated ones
  • Look for discrepancies such as defining an icon, bashfunction or file but the feature has not got a folder.

The second one should be about dynamic execution, so when a feature is executed the customizer itself can have a code to check the current execution conditions in order to log them into our test file; this could include the installed property, OS_NAME property, loaded package manager, XDG_DESKTOP_DIR... and toher information relevant of the current instance.
For each installation there should be a test function that checks that each property has been executed with the expected results
It should generate documentation of each feature

@Axlfc Axlfc created this issue from a note in Documentations and meta-project (To do) Dec 27, 2022
@Axlfc Axlfc added Bug Something isn't working Customizer Features Relative to Customizer features Major Major priority labels Dec 27, 2022
@Axlfc Axlfc changed the title All features Testing All features Automated Testing Dec 28, 2022
@Axlfc Axlfc removed their assignment Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Customizer Features Relative to Customizer features Major Major priority
Development

No branches or pull requests

2 participants