dbcli / mssql-cli

A command-line client for SQL Server with auto-completion and syntax highlighting
BSD 3-Clause "New" or "Revised" License
1.35k stars 191 forks source link

Show local variables in traceback for tests #354

Closed ellbosch closed 4 years ago

ellbosch commented 4 years ago

Fixes #352.

Occasionally we'll see test failures that lack enough local context for effective debugging. By including the -l flag with our testing, our traceback will include information about all variables used in the test method.

This is especially helpful for flaky tests which may be difficult to repro.