lint/.automation/test/README.md

18 lines
910 B
Markdown
Raw Normal View History

2020-02-04 09:49:58 -05:00
# Test Cases
2020-07-21 13:08:05 -04:00
2020-02-05 10:23:47 -05:00
This folder holds `test cases` that are used to validate the sanity of the **Super-Linter**.
2020-02-04 09:49:58 -05:00
The format:
2020-07-21 13:08:05 -04:00
2020-02-04 10:11:31 -05:00
- Each **Super-Linter** language should have its own folder
- Folder(s) containing test cases for each language supported
2020-02-04 09:49:58 -05:00
- Passing test case(s) per language denoted in naming scheme
2020-02-05 10:23:47 -05:00
- **FORMAT:** `LANGUAGE_(TYPE)_FILE.EXTENSION`
- **Example:** `markdown_good_5.md`
- **Note:** This allows the process to understand if linting of the file should pass or fail\
- **Note:** (good=Standard linting should be successful bad=standard linting should fail )
2020-02-04 09:49:58 -05:00
- Failing test case(s) per language denoted in naming scheme
2020-02-05 10:23:47 -05:00
- **FORMAT:** `LANGUAGE_(TYPE)_FILE.EXTENSION`
- **Example:** `markdown_bad_5.md`
- **Note:** (good=Standard linting should be successful bad=standard linting should fail )
2020-02-04 09:49:58 -05:00
- Script to run test cases and validate the sanity of **Super-Linter**