{"id":21294725,"url":"https://github.com/vaquierm/emailacceptancetesting","last_synced_at":"2026-05-17T06:31:55.620Z","repository":{"id":67006542,"uuid":"173222769","full_name":"vaquierm/EmailAcceptanceTesting","owner":"vaquierm","description":"📧 This repository runs a suite of tests to confirm that an email is correctly sent with an image attachement.","archived":false,"fork":false,"pushed_at":"2019-03-10T18:52:35.000Z","size":21518,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-26T23:03:24.974Z","etag":null,"topics":["acceptance-testing","gherkin","selenium","web-testing"],"latest_commit_sha":null,"homepage":"","language":"Java","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/vaquierm.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-01T02:41:59.000Z","updated_at":"2020-03-06T22:35:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"831adcda-02d1-47d6-b01d-129ae35952f5","html_url":"https://github.com/vaquierm/EmailAcceptanceTesting","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vaquierm/EmailAcceptanceTesting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaquierm%2FEmailAcceptanceTesting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaquierm%2FEmailAcceptanceTesting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaquierm%2FEmailAcceptanceTesting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaquierm%2FEmailAcceptanceTesting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaquierm","download_url":"https://codeload.github.com/vaquierm/EmailAcceptanceTesting/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaquierm%2FEmailAcceptanceTesting/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33129247,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T06:27:06.342Z","status":"ssl_error","status_checked_at":"2026-05-17T06:26:59.432Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["acceptance-testing","gherkin","selenium","web-testing"],"created_at":"2024-11-21T14:00:22.152Z","updated_at":"2026-05-17T06:31:55.583Z","avatar_url":"https://github.com/vaquierm.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EmailAcceptanceTesting\n\nThis repository runs a suite of tests to confirm that an email is correctly sent with an image attachement.\n\n## Test Environment Description\n\nCucumber is an open source testing platform which can automate the testing of business readable specifications against code of any modern development stack. The specification are written in Gherkin which gives structure and meaning to executable specifications.\n\nThe IDE used for the developpement was IntelliJ which was able to integrate easily with cucumber through maven dependencies. IntelliJ can be downloaded for free [here](https://www.jetbrains.com/idea/download/).\n\nSelenium was used to interact with the web page. Selenium is a suite of tools which can automate browser interaction through many platforms. Selenium is used to navigate through pages, click buttons, type, and perform any other actions that a human would to reproduce the various scenarios. The browser chosen for the test is Google Chrome. The drivers for the browser for selenium to use are included in the repository which facilitates the setup.\n\nThe feature file (sendemailwithimage.feature) which contains the Gherkin specification is ran through IntelliJ which translates each step directly to Java code (SendEmailWithImageSteps.java). This file  uses selenium to interact with the web browser. More detailed instructions can be found in the [Setup Instructions for Test Environment section](#Setup-Instructions-for-Test-Environment) section.\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"img/block_diagram.png\" width=\"600\" /\u003e\n\u003c/p\u003e\n\nThe Cucumber framework runs on Java and glues the corresponding steps of the Gherkin script to the steps definition Java file. The steps themselves call the selenium library which can interact with the web page through the Google Chrome web driver.\n\n## Setup Instructions for Test Environment\n\nFirst clone the repository locally.\n\n``` $ git clone https://github.com/vaquierm/EmailAcceptanceTesting.git ```\n\nThe project can then be imported from IntelliJ as a Maven project.\n\n\u003cimg src=\"img/maven_selection.png\" width=\"300\" /\u003e\n\nCheck the ‘Import Maven Projects Automatically checkbox’\n\n\u003cimg src=\"img/import_settings.png\" width=\"350\" /\u003e\n\nSelect Java 8 (SDK 1.8)\n\n\u003cimg src=\"img/sdk_selection.png\" width=\"300\" /\u003e\n\nCreate a Cucumber Java run configuration with the following setup.\n\n\u003cimg src=\"img/run_config.png\" width=\"500\" /\u003e\n\nThis configuration should be able to run all scenarios defined in the sendemailwithimage.feature file.\n\n## Repository contents\n\nAll code is contained in the EmailAcceptanceTesting folder. This is the folder that should be imported with IntelliJ to run the Tests. The figure below shows the structure of the repository.\n\n- The pom.xml contain all maven dependencies required for the project.\n- The assets folder contain the images that are attached to the emails when they are sent.\n- The chromedriver folder contains the Google Chrome web driver which selenium uses to interact with the web page\n- The src folder contains all java code and cucumber feature files.\n - The /test/java/ressources/feature/ folder contains the .feature cucumber files where the Gherkin scenarios are defined.\n - The /test/java/sendemail/ folder contain the java code which uses the selenium library.\n  - The SendEmailWithImageSteps.java file contains the step definitions for each Gherkin step for Cucumber to glue.\n  - The /util/ folder contains a utility file with helper functions to interact with the web driver.\n\n\u003cimg src=\"img/project_structure.png\" width=\"400\" /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaquierm%2Femailacceptancetesting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaquierm%2Femailacceptancetesting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaquierm%2Femailacceptancetesting/lists"}