corelp.test module
- corelp.test(file, new=True)[source]
This function will launch the testfile for the current file using pytest library.
- Parameters:
file (str) – __file__ string in the current python file to be tested.
new (bool) – True to create a new folder.
Examples
>>> # %% Test function run ... if __name__ == "__main__": ... from corelp import test ... test(__file__)