You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment there are a lot of try{} catch{} statements that log errors, but that's not a very good method. It's possible that CAPE, RMP, or WebReg will change how they format their HTML someday. When this happens, Planner Helper will break and the user will be left quite confused.
Here's what I was thinking would be awesome to have. On loading WebReg, Planner Helper will run some self-tests. These will check things like making sure certain parts of WebReg haven't changed and that RMP, CAPE, and Grade Distribution pages work for fetching data. If these tests don't pass it will log the error and alert the user of the problem so the user isn't left wondering why RMP is never returning anything.
We could use it when testing to make sure that it's at least getting some professors from the cape website. And if it gets none of them, then we can figure out that the html may have changed
We should set up a testing framework.
The text was updated successfully, but these errors were encountered: