summaryrefslogtreecommitdiff
path: root/xt
diff options
context:
space:
mode:
authornetworkException <git@nwex.de>2025-04-18 13:33:55 +0200
committernetworkException <git@nwex.de>2025-04-18 13:36:24 +0200
commit78b9b451b2da03a3d3261247bbbdde2f8195919d (patch)
tree1a5d695dfd3e1aee4405930d5b028a3963651bef /xt
Initial version of Travel::Status::MOTIS
This patch contains the initial implementation of Travel::Status::MOTIS, an interface to MOTIS routing services for departures, trips and stop search based on Travel::Status::DE::DBRIS. While MOTIS' focus is on intermodal routing, this module has been written for use in https://finalrewind.org/projects/travelynx, as such it focuses on departures at stops and trips. As MOTIS is open source and can be self hosted, there are multiple services (sourced from the transport-apis repository located as a submodule in `ext/`), available: Currently RNV for local transit in Mannheim, Germany and surrounding cities and transitous for worldwide crowdsourced tranit feeds. In addition to scheduled stops and trips this module supports realtime delay predictions, tracks, polylines, cancellations, headsigns and route colors whenever available.
Diffstat (limited to 'xt')
-rwxr-xr-xxt/00-compile-pm.t8
-rwxr-xr-xxt/01-compile-pl.t8
-rwxr-xr-xxt/10-pod-coverage.t8
3 files changed, 24 insertions, 0 deletions
diff --git a/xt/00-compile-pm.t b/xt/00-compile-pm.t
new file mode 100755
index 0000000..2476ab2
--- /dev/null
+++ b/xt/00-compile-pm.t
@@ -0,0 +1,8 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+use 5.010;
+use Test::More;
+use Test::Compile;
+
+all_pm_files_ok();
diff --git a/xt/01-compile-pl.t b/xt/01-compile-pl.t
new file mode 100755
index 0000000..f130ac4
--- /dev/null
+++ b/xt/01-compile-pl.t
@@ -0,0 +1,8 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+use 5.010;
+use Test::More;
+use Test::Compile;
+
+all_pl_files_ok();
diff --git a/xt/10-pod-coverage.t b/xt/10-pod-coverage.t
new file mode 100755
index 0000000..5fe4faa
--- /dev/null
+++ b/xt/10-pod-coverage.t
@@ -0,0 +1,8 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+use 5.010;
+use Test::More;
+use Test::Pod;
+
+all_pod_files_ok();