Jul-15-2020, 05:35 AM
Did you check the docs for pytest to see what the naming conventions are for test functions? You shouldn't have to call the functions yourself - the test framework discovers them and calls them.
VSCode not able to discover tests
|
|
Messages In This Thread |
VSCode not able to discover tests - by rpk2006 - Jul-15-2020, 04:06 AM
RE: VSCode not able to discover tests - by ndc85430 - Jul-15-2020, 04:48 AM
RE: VSCode not able to discover tests - by rpk2006 - Jul-15-2020, 05:01 AM
RE: VSCode not able to discover tests - by ndc85430 - Jul-15-2020, 05:35 AM
RE: VSCode not able to discover tests - by rpk2006 - Jul-15-2020, 05:49 AM
RE: VSCode not able to discover tests - by ndc85430 - Jul-15-2020, 06:03 AM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Ran 0 tests in 0.000s - unittest | Peaches | 8 | 5,302 |
Dec-31-2021, 08:58 AM Last Post: Peaches |
|
StopIteration exception when mock PostgreSQL connection in several tests | igor87z | 1 | 2,977 |
Jun-10-2020, 06:16 PM Last Post: ibreeden |
|
Running tests in a sibling directory to code | sodhiar | 1 | 2,758 |
Nov-07-2019, 11:28 PM Last Post: MckJohan |
|
pytest loop through multiple tests? | burvil | 0 | 4,360 |
Sep-26-2019, 11:42 PM Last Post: burvil |
|
How do i write tests for this code? | hshivaraj | 0 | 2,054 |
Apr-27-2019, 05:28 PM Last Post: hshivaraj |
|
Python unittest - running multiple tests from CSV file | asheru93 | 0 | 4,250 |
Jan-21-2019, 08:26 AM Last Post: asheru93 |
|
Tests are not running .Dont why | shankar | 3 | 6,383 |
Sep-20-2018, 07:06 AM Last Post: shankar |