-
Notifications
You must be signed in to change notification settings - Fork 230
Open
Labels
testingUnit testing frameworkUnit testing framework
Milestone
Description
Almost all of the current testing the LMFDB is of the form
- Create a webpage
- Search for strings in the resulting html
While this is good for ensuring that our core product is functional, it has a cost in that rendering pages is somewhat slow. This makes certain kinds of automated tests not a good idea (we already have to split our testing up into a bunch of different jobs on Github's CI).
There are other kinds of tests that we can add, where we run unit tests on functions without rendering a webpage. For example, see this test I just added in #6248. To be specific, I think we should
- Add tests for many of the functions in the
lmfdb.utilsfolder - Add tests for the methods on backend objects like WebAbstractGroup.
Metadata
Metadata
Assignees
Labels
testingUnit testing frameworkUnit testing framework