Hey everyone, I’m working on an application where we include links to external, public, non-Elm pages (documentation, company website, etc.), and I would like to test that these URLs are correct. For example, maybe some item in the documentation is renamed, causing a change to the URL, and I want to know the link I am including in my application is now dead.
The simplest setup I can think of is an integration test that just requests the page and tests that it gets HTTP 200 back (potential for flakyness if external pages are down not withstanding). Is there any way to accomplish something like this in Elm at the moment? It seems to me that elm-test is only for isolated tests, so to make such a test, I would have to start up a full Elm application, which can then report the results back. But can I do so in e.g. a Node binary that can be run as part of a test setup?