in reply to Re^7: Introspecting function signatures
in thread Introspecting function signatures
sub test_something { my $tempdir = create_tempdir(); # ... }
I don't know where the idea came from that in Python people include the tests in the main code. Maybe that was the case 10 years ago, but these days the standard is that tests are in separate files called test_SOMETHING.py.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: Introspecting function signatures
by LanX (Saint) on Mar 07, 2021 at 13:48 UTC | |
by szabgab (Priest) on Mar 07, 2021 at 14:14 UTC | |
by LanX (Saint) on Mar 07, 2021 at 14:36 UTC | |
by szabgab (Priest) on Mar 07, 2021 at 21:13 UTC | |
by LanX (Saint) on Mar 07, 2021 at 21:31 UTC |