-
Notifications
You must be signed in to change notification settings - Fork 95
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
Unit tests for frontend application #355
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Also load runtime plugin to avoid warning for unknown symbol and format with prettier.
This is notably useful for unit tests.
Factorize test environment init functions with other tests.
Introduce tests sub-package in pyproject.toml in order to install easily Python dependencies to run unit tests of backend applications.
Tests are located in tests/ subdir, then standard app exclusion path can be safely removed. Additional tsconfig file is included for vitest.
Instead of importing router exported variable, call standard useRouter() instead.
Add test for successful login form submission. Use vue-router-mock package to mock the router and check routes changes.
The setuptools package is actually required to import pkg_resources in version module. And sshtunnel is needed in development environment to execute dev/setup-dev-environment script. Also fix alphanumeric sorting with aiohttp.
Configure clusters in development environment to deploy Slurm 24.05 on tiny, Slurm 23.11 on pocket and Slurm 23.02 on emulator.
This commit introduces a new script dev/crawl-tests-assets that connect on all components in development environment (slurmrestd, Slurm-web agent and gateway) to get results of multiple requests and save them in JSON files as tests assets.
First results of dev/crawl-tests-assets with responses from slurmrestd, Slurm-web agent and gateway in development environment.
This should notably facilitate testing to validate content.
Add specific ids to the list items in graphical representation of jobs progression. This should notably facilitate testing. Job steps are converted to lower case in logic, it is now capitalized in template.
To avoid confusion with the notion of jobs steps existing in Slurm.
Move job progress component into its own dedicated component.
rezib
force-pushed
the
pr/more-tests
branch
from
September 30, 2024 12:58
9f23102
to
c65dca1
Compare
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add tests assets and unit tests for VueJS frontend application.