Improvements to generate_test_cases.py
See original GitHub issuePrerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Running the latest version of Constellation
- Attached the Support Package via
Help
>Support Package
- Checked the FAQs: https://github.com/constellation-app/constellation/wiki/FAQ
- Checked that your issue isn’t already filed: https://github.com/constellation-app/constellation/issues
- Checked that there is not already a module that provides the described functionality: https://github.com/constellation-app/constellation/wiki/Catalogue-of-Repositories
Description
The script generate_test_cases.py
was used to generate the content in #667. This is a placeholder issue to track improvements that could be made to the script.
Steps to Reproduce
cd constellation
python ../constellation-miscellaneous/TestCaseGenerator/generate_test_cases.py
> output
Suggestions
- Sort the list of views and plugins alphabetically
- Fix the cases where the menu option is empty
- The script should be able to accept multiple folders so you could generate it for
constellation
andconstellation-adaptors
in the one script - exclude any disabled actions or plugins
- some actions missing like “Arrange by Layers”
- There’s no item to test
Tools/Cluster > Hierarchical
, andK-Truss
should be listed asTools/Cluster >K-Truss
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (2 by maintainers)
Top Results From Across the Web
how to auto generate test cases for parameter-less methods?
EDIT: If i move the code in setupClass to the global scope (outside the class), then py.test detects and runs the auto-generated test...
Read more >Trigger-Word-Detection/generateTestCases.py at main - GitHub
Coursera - RNN Programming Assignment: In this project, we will construct a speech dataset and implement an algorithm for trigger word detection (sometimes ......
Read more >12 Best Automated Unit Testing Tools [LATEST 2022 RANKING]
Click to Generate test cases. ... Languages - Javascript, Typescript and Python ... Automate unit tests for JS, Typescript, and Python.
Read more >Testing your Python Code with Hypothesis
One of the defining features of Hypothesis is its ability to generate test cases automatically in a manner that is: Reproducible. Repeated invocations...
Read more >Test Case Generation | Set 1 (Random Numbers, Arrays and ...
Hence this Set will be very important for all aspiring software developers. The following are the programs to generate test cases.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The Arrange by Layers action in the test cases isn’t present in rc2 as well.
Not sure if this can be fixed in the script: There’s no item to test
Tools/Cluster > Hierarchical
, and K-Truss should be listed asTools/Cluster >K-Truss