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

Implement integration tests #23

Open
4 of 6 tasks
kolayne opened this issue Jul 27, 2024 · 0 comments
Open
4 of 6 tasks

Implement integration tests #23

kolayne opened this issue Jul 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@kolayne
Copy link
Owner

kolayne commented Jul 27, 2024

Add some tests to make sure docker-on-top works.

Ideally, tests should include:

  • Basic use (creating a volume, using it in a container, deleting a volume) - ensure volumes function properly
  • Simultaneous use of the same volume (mount volume into several containers, starting and terminating at different times, and ensure volumes function properly)
  • Simultaneous use of two different volumes on top of the same base directory (run containers with different volumes on top of the same base directory, ensure their changes don't interfere, ensure changes from the host are propagated as they should)
  • Use of volatile volumes (ensure volatile volumes function properly)
  • Invalid user input (try to break stuff by providing invalid volume name, invalid base path, etc)
  • Messing with the internal state (ensure docker-on-top won't allow invalid mounts/unmounts even when its internal state is messed with!)
@kolayne kolayne added the enhancement New feature or request label Jul 27, 2024
@kolayne kolayne mentioned this issue Jul 27, 2024
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

1 participant