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

Write tests for Lasso #38

Closed
Sammyjo20 opened this issue Oct 20, 2020 · 2 comments
Closed

Write tests for Lasso #38

Sammyjo20 opened this issue Oct 20, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@Sammyjo20
Copy link
Owner

Right, we need to get some tests in here!

I was wondering how specifically is the best way to test Lasso. Would the best way to test each individual component, e.g the backing up process?

@Sammyjo20 Sammyjo20 added help wanted Extra attention is needed discussion labels Oct 20, 2020
@Sammyjo20
Copy link
Owner Author

Sammyjo20 commented Dec 7, 2020

Tests to write:

  • Zip helper can zip files and folders up
  • Zip helper can unzip files and checksum is correct
  • Backup service can create a backup successfully
  • Backup service can restore files and checksum matches
  • Backup service can bring back sym-linked directories
  • Versioning service can successfully append a new version
  • Versioning service can successfully remove a version
  • Archive service can successfully create
  • Archive service can successfully extract
  • File lister lists the correct files
  • File lister excludes specified files
  • File lister excludes specified directories
  • Config validator throws exceptions at certain configurations
  • Bundle integrity helpers creates and validates checksums correctly
  • Lasso-bundle.json file is generated successfully
  • Lasso-bundle.json can be read successfully
  • Webhooks can send successfully
  • Compiled assets can be uploaded to filesystem correctly

@Sammyjo20 Sammyjo20 removed discussion help wanted Extra attention is needed labels Dec 16, 2020
@Sammyjo20 Sammyjo20 added the enhancement New feature or request label Dec 27, 2020
@Jhnbrn90 Jhnbrn90 mentioned this issue Oct 5, 2021
1 task
@Jhnbrn90
Copy link
Contributor

Jhnbrn90 commented Oct 5, 2021

Hi @Sammyjo20

I've attempted to address the todo Zip helper can zip files and folders up in #48

I can address the Zip helper can unzip files and checksum is correct todo for the Unzipper helper class next if you'd like, but I'd like to await your feedback on this PR first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants