python_leetcode_runner
python_leetcode_runner copied to clipboard
Test your leetcode Python solutions locally.
For now, you need to provide the 2-tuple next to every assert statement. This is problematic for two reasons: - It's inconvenient - If code inside your Solution method has...
``` Test 1 - ([1]).............................................................................FAILED Test 2 - ([1, 2])..........................................................................PASSED Test 3 - ([1, 2, 2, 1])....................................................................PASSED Test 4 - ([1, 2, 3, 4, 5]).................................................................FAILED Test 5 - ([1, 2,...
In case of infinite loops, the test gets stuck forever and you don't get to see the actual outputs of failed test cases. Solution: Set a default timeout of 1...
- When multiple filenames are given, it should test for all of them, while also printing the file name in bold - Allow passing file name as `./abc.py` : for...