{"id":14978854,"url":"https://github.com/unic/scalawebtest","last_synced_at":"2025-10-28T13:31:30.277Z","repository":{"id":47256176,"uuid":"69252010","full_name":"unic/ScalaWebTest","owner":"unic","description":"ScalaWebTest is a library for writing ScalaTest/Selenium based integration tests for web applications. It helps you with your basic setup and provides a new and very efficient approach to testing.","archived":false,"fork":false,"pushed_at":"2023-02-10T08:42:13.000Z","size":98091,"stargazers_count":29,"open_issues_count":9,"forks_count":9,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-02-07T11:57:30.935Z","etag":null,"topics":["integration-testing","scalatest","selenium"],"latest_commit_sha":null,"homepage":"https://scalawebtest.org","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-26T13:19:25.000Z","updated_at":"2023-03-21T10:57:42.000Z","dependencies_parsed_at":"2024-09-28T02:04:47.950Z","dependency_job_id":"07eed75e-0668-4d10-8e21-c4f8fd1c11b7","html_url":"https://github.com/unic/ScalaWebTest","commit_stats":{"total_commits":331,"total_committers":15,"mean_commits":"22.066666666666666","dds":"0.38368580060422963","last_synced_commit":"5cc818ab2e49daf112f41d84959f1b925f5f15d3"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2FScalaWebTest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2FScalaWebTest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2FScalaWebTest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2FScalaWebTest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unic","download_url":"https://codeload.github.com/unic/ScalaWebTest/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238655017,"owners_count":19508541,"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":["integration-testing","scalatest","selenium"],"created_at":"2024-09-24T13:58:32.041Z","updated_at":"2025-10-28T13:31:30.270Z","avatar_url":"https://github.com/unic.png","language":"Scala","readme":"# [![ScalaWebTest](https://www.scalawebtest.org/images/swt-logo-light.png)](http://www.scalawebtest.org)\n\n\u003e ⚠️ **Project Status: Unmaintained**\n\u003e\n\u003eAs of July 2025, this project is no longer actively maintained.\n\u003e\n\u003eWe are grateful to everyone who used, contributed to, or supported this project along the way.\n\u003e\n\u003e### What does this mean for you?\n\u003e\n\u003e- The code will remain available under the same open source license.\n\u003e- You are welcome to fork the repository and continue development under your own namespace.\n\u003e- No further features, bug fixes, or updates will be made by the original author.\n\u003e- Pull requests and issues may not receive a response.\n\u003e\n\u003e### Looking for a Maintainer\n\u003e\n\u003eIf you're interested in continuing the work — whether maintaining it, evolving it, or just keeping it running — feel free to reach out by opening an issue or starting a discussion. We’re happy to support a transition if \u003esomeone steps forward.\n\u003e\n\u003e### Planned Archival\n\u003e\n\u003eIf no new maintainer steps forward, this repository will be archived in **January 2026**. After archiving, it will become read-only but remain publicly accessible.\n\n---\n\n## [![Build Status](https://travis-ci.org/unic/ScalaWebTest.svg?branch=main)](https://travis-ci.org/unic/ScalaWebTest) [![Join the chat at https://gitter.im/ScalaWebTest/Lobby](https://badges.gitter.im/ScalaWebTest/Lobby.svg)](https://gitter.im/ScalaWebTest/Lobby?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nScalaWebTest is a library for writing ScalaTest/Selenium based integration tests for websites. It helps you with your basic setup and provides a new and very efficient approach to testing.\n\nIn manufacturing, it is common to use gauges (also called checking gauges or testing gauges) to verify whether a workpiece meets predefined criteria and tolerances. ScalaWebTest transfers this concept to the world of web integration testing. You can define a gauge in HTML, and use it to verify your web application. This greatly improves the readability, simplicity of your integration tests.\n\nRead the full documentation on our website \u003chttps://www.scalawebtest.org\u003e\n\n## Getting Started with development\n\n### Prerequisites\n\n* Java \u003e= 8\n* SBT 1.x\n* [ChromeDriver](http://chromedriver.chromium.org/)\n\nGet familiar with the sbt build tool because this is used to manage the project.\n\nSee [Getting Started Guide](https://www.scala-sbt.org/1.x/docs/Getting-Started.html)\n\n### Compile, test, package\n\n```bash\n$ sbt compile test package\n```\n\n### Run whole integration test\n\nBefore running the integration tests, you will need to configure `WEBDRIVER_CHROME_DRIVER` environment variable. To do so, run the following command:\n\n```bash\n$ export WEBDRIVER_CHROME_DRIVER=\"$(which chromedriver)\"\n```\n\nThen run the tests using the command below:\n\n```bash\n$ sbt inttest\n```\n\nThis will start a Jetty server, executes the integration tests and stops the server again.\n\n### Start Jetty server and run single tests\n\nIf you would like to run the Jetty server and in parallel work on integration tests, and some code changes,\nyou can do the following:\n\n```bash\n# Enter the sbt console first, enter 'sbt' in root folder\n$ sbt\n\n# Start Jetty server\nsbt\u003e jetty:start\n\n# Or if you would like that sbt automatically restarts Jetty after code changes then do:\nsbt\u003e ~jetty:start\n\n# Open separate command window and enter the sbt console agains\n# Run a single integration tests\nsbt\u003e it:testOnly org.scalawebtest.integration.gauge.ContainsSpec\n```\n\n## How to Release\n\n### Prerequisites\n\n1. Create the file `~/.sbt/1.0/plugins/gpg.sbt` and add the following line `addSbtPlugin(\"com.jsuereth\" % \"sbt-pgp\" % \"2.0.1\")`\n\n1. Create the file `~/sbt/1.0/global.sbt` and add the following line `Global / useGpg := false` or install gpg according to the [sbt-pgp documentation](https://github.com/sbt/sbt-pgp).\n\n1. Copy the private key (Sonatype PGP Private and Public Key from our company password store), to `~/.sbt/gpg/secring.asc`\n\n1. Create the file  `~/.sbt/1.0/sonatype.sbt` and add the following content, then replace username and password with your personal oss.sonatype credentials\n\n```scalas\ncredentials += Credentials(\"Sonatype Nexus Repository Manager\",\n                           \"oss.sonatype.org\",\n                           \"\u003cyour username\u003e\",\n                           \"\u003cyour password\u003e\")\n```\n\n### Release\n\nThe release process of ScalaWebTest is currently done manually. The process is as follows:\n\n1. Switch the version in `build.sbt` to that which is to be released (e.g. from `0.0.1-SNAPSHOT` to `1.0.0`)\n1. In your command line type in the following:\n    1. navigate to the root folder of the ScalaWebTest git repository\n    1. `sbt` - enters the sbt interactive mode\n    1. `+ clean` - deletes all generated files (target)\n    1. `+ test` - compiles and tests the main sources\n    1. `+ doc` - generate scaladoc\n    1. `mimaReportBinaryIssues` - execute the Migration Manager to verify binary compatibility\n    1. `inttest` - compile and run the integration tests\n    1. `+ publishSigned` - publishes all packages, sources and poms \n    1. Enter the Sonatype PGP Key Password as stored in our company password store\n    1. Go to \u003chttps://oss.sonatype.org/#stagingRepositories\u003e close and release the staging repository\n    1. `exit` - exits the sbt interactive mode\n1. Commit your changes with the commit message \"Release x.x.x\" (e.g. `Release 1.0.0`)\n1. Tag this commit with the release version `git tag -a x.x.x -m \"x.x.x\"`\n1. Switch the version in `build.sbt` to the snapshot version (e.g. from `1.0.0` to `1.0.0-SNAPSHOT`) and update the documentation if needed\n1. Finally, commit those changes with the commit message \"Bump version to x.x.x-SNAPSHOT\" (e.g. `Bump version to 1.0.0-SNAPSHOT`)\n1. Push your changes, and the tag\n\n### Website\n\nThe website's parts are found in the `docs`-folder of this project. \nIt is built using `jekyll`, please see the `serve_local-files` for local serving. Or use the following command:\n```\nbundle exec jekyll build\n```\n\nThe website is deployed through Netlify. It's deployment configurations are found in `netlify.tom`.\nPlease find the login in our company password store.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funic%2Fscalawebtest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funic%2Fscalawebtest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funic%2Fscalawebtest/lists"}