Add better test case names to these old std rules tests
See original GitHub issueRight now the standard rules test cases have names like test_1
, test_2
, etc. These names should be updated to be more descriptive, and potentially adding a longer test case description with the desc:
yaml key.
_Originally posted by @pwildenhain in https://github.com/sqlfluff/sqlfluff/pull/553#discussion_r528269346_
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How to Write Test Cases: The Ultimate Guide with Examples
So, it is always better to add a timestamp with the tester's name in the testing comments so that a test result (pass...
Read more >Writing Clean Tests - Naming Matters - Petri Kainulainen
A good name identifies the tested class or feature. In other words, we should name our test classes by following these rules:.
Read more >Catch2/test-cases-and-sections.md at devel - GitHub
A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later ... Test names must be unique within...
Read more >How to Write Effective Test Case Names (With Examples)
Be concise. Test case names are usually limited to a specific length, so space is at a premium. Make sure to keep names...
Read more >unittest — Unit testing framework — Python 3.11.1 ...
A testcase is created by subclassing unittest.TestCase . The three individual tests are defined with methods whose names start with the letters test...
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 Free
Top 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
Hi, it seems there was not much going on in this issue recently so I’ll go ahead and try to improve some of the names that remain
Hey! Yeah I was halfway through it, I’ll commit what I have in a PR and tag you for review in awhile.