Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^8: Introspecting function signatures

by szabgab (Priest)
on Mar 06, 2021 at 21:13 UTC ( #11129214=note: print w/replies, xml ) Need Help??


in reply to Re^7: Introspecting function signatures
in thread Introspecting function signatures

You would not call test functions by yourself, the system would do. In this specific case you'd use File::Spec anyway.

What is interesting in this case might be how to skip tests. I think the usual SKIP would work inside the test functions, but there might be some way to mark test functions to be skipped conditionally. Pytest uses "decorators" for this.

@pytest.mark.skipif(sys.platform != 'darwin', reason="Mac tests") def test_func(): ...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11129214]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2022-08-08 23:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?