1.0 First release
First release of testrunner
How to Use the Test Runner
Creating Your First Test
-
Navigate to the
EditorTab:- This is where you define your tests.
-
Specify the Function to Test:
- Enter the name of the function you want to test in the
Function to testbox.
- Enter the name of the function you want to test in the
-
Add a Test:
- Expected Output: Define what the correct output should be. Specify the type unless it’s
any, which allows flexibility in matching types. - Parameters: Enter the input that will be passed to the function. Match the types unless set to
any, where it attempts to infer. - Error Handling: If the test expects an error, set the expected output type to
error. The test will pass if the function raises an error.
- Expected Output: Define what the correct output should be. Specify the type unless it’s
Running Tests
-
Navigate to the
TestsTab:- This is where you can add your test scripts.
-
Run Your Tests:
- Press the
Run Testsbutton to execute your test scripts.
- Press the
-
View the Results:
- A results panel will display the score of each file tested. Use the 🔽 button to expand and view detailed results for each script.
Full Changelog: https://github.com/Areng14/testrunner/commits/1.0