- 
                Notifications
    You must be signed in to change notification settings 
- Fork 148
Add file for user-contributed tests #505
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
Conversation
| At the workshop I would like to persuade people to contribute tests for the FORM CI. This adds a place to collect these. Anything that a user feels is a bit of a "clever" hack for performance, uses "uncommon" features etc, is a good candidate for a test. So far I added a polyratfun test of my own, and something from @tueda . | 
| If I understand correctly, this aims to enhance the variety of regression tests and the code coverage, am I correct? If this is the case, I guess the failure (memory leak) in  Assuming user-contributed tests will be submitted via GitHub, we might use GitHub account names as prefixes prepended to test names, i.e.,  | 
| Yes exactly, the more tests we have the more likely we catch bugs or possible side effects of bug fixes. Do you think it is better for every test fold to be self-contained, or shall we introduce an  Indeed this memory leak was unexpected, I am trying to work out what happens there. | 
| In general, I think keeping each test self-contained would be good (which means it can be easily run outside  What kind of procedures do you consider? | 
| I paste in some procedures that I use commonly, for eg in the denexpand test. If these end up being called in more than one test, it would be better to have them in a file which can be included within the test environment. | 
| Indeed, the following code seems to work: with ./check/check.rb tueda_include_test1 -vor form -I check -D TEST=tueda_include_test1 check/user.frmSo, you can use an extra fold as a library containing procedures etc. | 
Collect tests which don't fit in "examples", "features" or "fixes" categories. These should be fast-running, so they can run as part of the CI.
| So, ready to merge? (Perhaps, after the merge, the README file in the  | 
| Yes, I would say so. #507 is somehow independent of the current tests in the file, and can be resolved (or not...) separately. | 
| OK, after merging #522, I will merge this PR (hoping that the code coverage will increase a bit). | 
Collect tests which don't fit in "examples", "features" or "fixes" categories.
These should be fast-running, so they can run as part of the CI.