{"id":23994774,"url":"https://github.com/mapfish/mapfish-print-e2e-test","last_synced_at":"2025-02-25T07:14:49.589Z","repository":{"id":13079610,"uuid":"15760585","full_name":"mapfish/mapfish-print-e2e-test","owner":"mapfish","description":"E2E testing of mapfish-print module","archived":false,"fork":false,"pushed_at":"2018-10-11T06:16:12.000Z","size":2988,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-07T21:20:09.428Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mapfish.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-09T08:13:25.000Z","updated_at":"2018-10-11T06:16:15.000Z","dependencies_parsed_at":"2022-07-12T15:08:13.833Z","dependency_job_id":null,"html_url":"https://github.com/mapfish/mapfish-print-e2e-test","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapfish%2Fmapfish-print-e2e-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapfish%2Fmapfish-print-e2e-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapfish%2Fmapfish-print-e2e-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapfish%2Fmapfish-print-e2e-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mapfish","download_url":"https://codeload.github.com/mapfish/mapfish-print-e2e-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240619450,"owners_count":19830206,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-07T21:20:34.700Z","updated_at":"2025-02-25T07:14:49.564Z","avatar_url":"https://github.com/mapfish.png","language":"JavaScript","readme":"# Summary\nThis repository is a submodule of mapfish-print and contains e2e tests for the pdf and image generation.  It contains the code to\nstart a Geoserver instance and run junit integration tests against the server to test as many of the mapfish-print options as possible.\n\nDue to the difficulty of verification there are two modes of execute.  \n\nAn interactive mode and a automated mode.  The interactive mode contains steps where a developer has to validate the responses.\n\nTo use module:\n\n    git clone --recurse-submodules https://github.com/mapfish/mapfish-print.git\n    cd mapfish-print\n    ./gradlew interactiveTest # for interactive and automated tests\n    ./gradlew test # for automated tests only\n    \n    \nBoth tasks are gradle test tasks and more details on how to run single tests or subgroups of tests can be understood by referring to:\n\n    http://www.gradle.org/docs/current/userguide/java_plugin.html#sec:java_test\n\n\n# Test Server and SamplePages\nThe geoserver in this project is configured with several webpages that show maps requesting tiles in the various layer types\n(TMS, WMS, WMTS, Vector, OSM, etc...)  These pages can be used to see how openlayer interacts with these different layer types.  The\npages also have print buttons for submitting a print request for the given map.\n\nTo experiment with these pages:\n\n1. Open a terminal\n2. `./gradlew jettyRunForeground`\n3. Open a web browser\n4. Enter `http://localhost:9876/e2egeoserver` in the location input\n\nThe main page contains a list of all the pages and provides links to the respective pages.  Each page has a short description\nexplaining what should be visible and printed.\n\n# Writing Tests\n\nThere are two types of tests.  All classes that end in _InteractiveTest_ will be ran only during the testInteractive task.  All other junit\ntests will be ran during the normal test task.\n\nBy default the test server is in daemon mode, which mean that the servers will be run in a background thread and be shutdown when\nthe build completes.  In order to be able to run the tests in a IDE there is a one can run:\n\n     ./gradlew jettyRunForeground\n\nThis will start the test servers in non-daemon mode allowing one to start the server and then run tests you IDE against that server for\ndevelopment.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapfish%2Fmapfish-print-e2e-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmapfish%2Fmapfish-print-e2e-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapfish%2Fmapfish-print-e2e-test/lists"}