You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.
This request is for improving testing. Currently, integration testing analyzes text files ('.gitignore', '.gitattributes', '.ps1', '.psm1', '.psd1', '.json', '.xml', '.cmd', '.mof', '.md', '.js', '.yml') with several tests such as looking for empty files, Unicode encoding, content with tab characters, and files that do not end with a newline character. A better approach is to select which tests are appropriate for each file type. For example, a .xml file doesn't have to end with a newline and it is irrelevant if it contains a tab character, but it shouldn't be an empty file or be Unicode-encoded. No files should be empty (that I'm aware of).
The text was updated successfully, but these errors were encountered:
stevehose
changed the title
Selective generic testing based upon file type
Selective generic text file testing based upon file type
Jan 16, 2019
Thank you for raising this @stevehose. This certainly could be done. I'd recommend if such changes were made we would use a data driven approach (e.g. a PSD1 file defining each file type and the test types that should apply). But we should leave this up for community discussion.
This request is for improving testing. Currently, integration testing analyzes text files ('.gitignore', '.gitattributes', '.ps1', '.psm1', '.psd1', '.json', '.xml', '.cmd', '.mof', '.md', '.js', '.yml') with several tests such as looking for empty files, Unicode encoding, content with tab characters, and files that do not end with a newline character. A better approach is to select which tests are appropriate for each file type. For example, a .xml file doesn't have to end with a newline and it is irrelevant if it contains a tab character, but it shouldn't be an empty file or be Unicode-encoded. No files should be empty (that I'm aware of).
The text was updated successfully, but these errors were encountered: