Skip to content

Commit

Permalink
implement notebook testing pipeline using unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
Aarsh2001 committed Aug 28, 2023
1 parent fff4d9b commit 61a6aa9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/notebook_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,8 @@ def startTest(self, test):
suite = unittest.TestLoader().loadTestsFromTestCase(NotebookTest)
runner = IterativeTestRunner(verbosity=2)
result = runner.run(suite)

if result.wasSuccessful():
exit(0) # Tests passed
else:
exit(1) # Tests failed

0 comments on commit 61a6aa9

Please sign in to comment.