Open PressJump opened 11 months ago
Testing for qnpm should include the items below with the checks described.
[ ] Add Command Test The test for the "add" command should include checks for the package reference existing in package.json its dependencies to exist in package-lock.json and match the one gotten latest from the package index, and also the package/its dependencies to exist in node_modules folder.
[ ] Remove Command Test The test for the "remove" command should do the same checks as above for the add command but the package or any references to it should not exist in the package-lock.json
[ ] Config Checks Should check if the config variables added change on the config json spawned in the case a config var is added.
[ ] Init Check Should check if a package.json is generated on init command.
More commands and tests should be added as the project expands.
Add testing. Issue made for tracking purposes.