question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add better test case names to these old std rules tests

See original GitHub issue

Right 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:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ttomaszcommented, Oct 3, 2021

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

1reaction
linchun3commented, Jun 12, 2021

Hey! Yeah I was halfway through it, I’ll commit what I have in a PR and tag you for review in awhile.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found